From ee5e518cc80fcb9d634fa3c12b5963dcbeedf9f7 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期五, 01 九月 2023 19:29:31 +0800 Subject: [PATCH] 修改 成新版 --- src/pages/syslog/views/pollingLog.vue | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/pages/syslog/views/pollingLog.vue b/src/pages/syslog/views/pollingLog.vue index 92bcb10..2897bf9 100644 --- a/src/pages/syslog/views/pollingLog.vue +++ b/src/pages/syslog/views/pollingLog.vue @@ -131,6 +131,7 @@ show-checkbox check-on-click-node default-expand-all + :default-checked-keys="selectedIDs" ></el-tree> <span slot="footer" class="dialog-footer"> @@ -178,6 +179,7 @@ procID: "", procName: "", pickNum: 0, + selectedIDs: [], pickerOptions: { shortcuts: [ { @@ -237,6 +239,8 @@ }, confirmCamera() { const selectedIDs = this.$refs.cameraTree.getCheckedKeys(); + this.selectedIDs = selectedIDs; + console.log(selectedIDs); this.pickNum = selectedIDs.length; this.procID = selectedIDs.join(","); this.getScheduleLog(); -- Gitblit v1.8.0