Select Remote Vue component fixed remote method function.

This commit is contained in:
Cüneyt Şentürk 2021-01-04 00:48:36 +03:00
parent 154a493109
commit b529517aec

View File

@ -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 += '&currency_code=' + this.currencyCode;
path += '&limit:10';
window.axios({
method: 'GET',
url: path,