mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-24 04:33:06 +00:00
perf: Cancel template selection if the command is empty
This commit is contained in:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user