From 386901316d252ca091e6abbf583cb3eb540db108 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Wed, 4 Jun 2025 15:58:30 +0800 Subject: [PATCH] 1 --- .../trials/trials-panel/setting/inspection/index.vue | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/views/trials/trials-panel/setting/inspection/index.vue b/src/views/trials/trials-panel/setting/inspection/index.vue index 9bd4322d..cc619d11 100644 --- a/src/views/trials/trials-panel/setting/inspection/index.vue +++ b/src/views/trials/trials-panel/setting/inspection/index.vue @@ -90,13 +90,10 @@ export default { if (res.IsSuccess) { this.list = this.formatList(res.Result) let { tree, ids } = this.formatTree(res.Result); - console.log(ids) this.tree = tree - if (ids.length > 0) { - this.$nextTick(() => { - this.$refs.tree.setCheckedKeys(ids) - }) - } + this.$nextTick(() => { + this.$refs.tree.setCheckedKeys(ids) + }) } } catch (err) { this.loading = false