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