diff --git a/frontend/src/views/chart/group/Group.vue b/frontend/src/views/chart/group/Group.vue index 7bb774d906..99a2669c50 100644 --- a/frontend/src/views/chart/group/Group.vue +++ b/frontend/src/views/chart/group/Group.vue @@ -439,7 +439,7 @@ export default { } this.timer = setTimeout(() => { this.getTreeData(val) - }, 500) + }, (val && val !== '') ? 500 : 0) }, saveStatus() { this.refreshNodeBy(this.saveStatus.sceneId) diff --git a/frontend/src/views/dataset/group/Group.vue b/frontend/src/views/dataset/group/Group.vue index 7c6b45fd49..70fc6ead10 100644 --- a/frontend/src/views/dataset/group/Group.vue +++ b/frontend/src/views/dataset/group/Group.vue @@ -443,7 +443,7 @@ export default { } this.timer = setTimeout(() => { this.getTreeData(val) - }, 500) + }, (val && val !== '') ? 500 : 0) }, saveStatus() { this.refreshNodeBy(this.saveStatus.sceneId)