This commit is contained in:
xiaozhiyong
2023-02-21 09:22:53 +08:00
parent 492e3c3748
commit fb1300a70e
11 changed files with 1868 additions and 39 deletions

View File

@@ -66,7 +66,9 @@ export default {
if (query !== "") {
this.loading = true;
let params = {};
params[this.config.autocompleteKey] = query;
this.config.autocompleteKey
? (params[this.config.autocompleteKey] = query)
: (params["queryTypeGet"] = query);
this.config.serveTarget(params).then((res) => {
let timeInstance = setTimeout(() => {
this.loading = false;