Select Remote Vue component fixed remote method function.
This commit is contained in:
parent
154a493109
commit
b529517aec
@ -650,14 +650,16 @@ export default {
|
|||||||
path = url + '/common/items/autocomplete';
|
path = url + '/common/items/autocomplete';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (path.search('/?') !== -1) {
|
if (path.indexOf('?') === -1) {
|
||||||
path += '?search=' + query;
|
path += '?search="' + query + '"';
|
||||||
} else {
|
} else {
|
||||||
path += '&search=' + query;
|
path += '&search="' + query + '"';
|
||||||
}
|
}
|
||||||
|
|
||||||
path += '¤cy_code=' + this.currencyCode;
|
path += '¤cy_code=' + this.currencyCode;
|
||||||
|
|
||||||
|
path += '&limit:10';
|
||||||
|
|
||||||
window.axios({
|
window.axios({
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
url: path,
|
url: path,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user