perf: 会员选择输入框不刷新的情况
This commit is contained in:
parent
4b0ad22f8d
commit
ecd2cdd28e
@ -139,7 +139,6 @@
|
|||||||
methods: {
|
methods: {
|
||||||
searchUser(key) {
|
searchUser(key) {
|
||||||
if (typeof key !== "string") key = "";
|
if (typeof key !== "string") key = "";
|
||||||
if (key == this.searchKey) return;
|
|
||||||
this.searchKey = key;
|
this.searchKey = key;
|
||||||
//
|
//
|
||||||
const history = this.searchHistory.find(item => item.key == key);
|
const history = this.searchHistory.find(item => item.key == key);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user