perf: 会员选择输入框不刷新的情况

This commit is contained in:
kuaifan 2022-02-15 15:41:45 +08:00
parent 4b0ad22f8d
commit ecd2cdd28e

View File

@ -139,7 +139,6 @@
methods: {
searchUser(key) {
if (typeof key !== "string") key = "";
if (key == this.searchKey) return;
this.searchKey = key;
//
const history = this.searchHistory.find(item => item.key == key);