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';
|
||||
}
|
||||
|
||||
if (path.search('/?') !== -1) {
|
||||
path += '?search=' + query;
|
||||
if (path.indexOf('?') === -1) {
|
||||
path += '?search="' + query + '"';
|
||||
} else {
|
||||
path += '&search=' + query;
|
||||
path += '&search="' + query + '"';
|
||||
}
|
||||
|
||||
path += '¤cy_code=' + this.currencyCode;
|
||||
|
||||
path += '&limit:10';
|
||||
|
||||
window.axios({
|
||||
method: 'GET',
|
||||
url: path,
|
||||
|
Loading…
x
Reference in New Issue
Block a user