Merge pull request #3195 from jumpserver/pr@dev@perf_select2_filter

perf: 优化 select 本地搜索
This commit is contained in:
老广
2023-06-13 13:27:41 +08:00
committed by GitHub

View File

@@ -216,7 +216,7 @@ export default {
this.$log.debug('Value is : ', this.value)
this.iValue = this.value
this.initialized = true
})
}, 10)
}
this.$nextTick(() => {
// 因为elform存在问题这个来清楚验证
@@ -315,6 +315,8 @@ export default {
if (this.iOptions.length === 0) {
this.remote = false
}
} else {
this.remote = false
}
this.iValue = this.value
},