更新
This commit is contained in:
@@ -59,14 +59,14 @@ export default {
|
||||
if (query !== "") {
|
||||
this.loading = true;
|
||||
let params = {};
|
||||
if (
|
||||
this.$utils
|
||||
.typeJudgment(this.config.autocompleteKey)
|
||||
.includes("Object")
|
||||
) {
|
||||
let type = this.$utils.typeJudgment(this.config.autocompleteKey);
|
||||
if (!type.includes("Object") && !type.includes("String")) return;
|
||||
|
||||
if (type.includes("Object")) {
|
||||
params[this.config.autocompleteKey.key] = query;
|
||||
params["enableMark"] = this.config.autocompleteKey.enableMark;
|
||||
} else {
|
||||
}
|
||||
if (type.includes("String")) {
|
||||
this.config.autocompleteKey
|
||||
? (params[this.config.autocompleteKey] = query)
|
||||
: (params["queryTypeGet"] = query);
|
||||
|
||||
Reference in New Issue
Block a user