perf: Cancel template selection if the command is empty

This commit is contained in:
wangruidong
2024-11-15 17:50:26 +08:00
committed by Bryan
parent ec78370ecc
commit 7ea00e17bd

View File

@@ -323,6 +323,13 @@ export default {
return this.$refs.TreeTable.$refs.TreeList.$refs.AutoDataZTree.$refs.AutoDataZTree.$refs.dataztree.$refs.ztree return this.$refs.TreeTable.$refs.TreeList.$refs.AutoDataZTree.$refs.AutoDataZTree.$refs.dataztree.$refs.ztree
} }
}, },
watch: {
command(iNew, iOld) {
if (iNew === '') {
this.variableFormData = []
}
}
},
mounted() { mounted() {
this.enableWS() this.enableWS()
this.initData() this.initData()