mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-17 06:46:43 +08:00
标签输入框下拉调整 日志
This commit is contained in:
@@ -115,7 +115,7 @@ export default {
|
|||||||
handler() {
|
handler() {
|
||||||
// 只有在已选择分类且有焦点时才重新加载
|
// 只有在已选择分类且有焦点时才重新加载
|
||||||
if (this.sysTypeList.length > 0 && this.$refs.tagSelect && this.$refs.tagSelect.visible) {
|
if (this.sysTypeList.length > 0 && this.$refs.tagSelect && this.$refs.tagSelect.visible) {
|
||||||
this.doSearch('');
|
this.doSearch(null);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
deep: true
|
deep: true
|
||||||
@@ -127,7 +127,7 @@ export default {
|
|||||||
console.log("-- handleFocus --- " + this.sysTypeList.length)
|
console.log("-- handleFocus --- " + this.sysTypeList.length)
|
||||||
// 当输入框获得焦点时,加载默认的搜索结果
|
// 当输入框获得焦点时,加载默认的搜索结果
|
||||||
if (this.sysTypeList.length > 0) {
|
if (this.sysTypeList.length > 0) {
|
||||||
await this.doSearch('');
|
await this.doSearch(null);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 新增:重置标签状态的方法
|
// 新增:重置标签状态的方法
|
||||||
|
|||||||
Reference in New Issue
Block a user