From d8944c4764c3fc4b7baf6b5c1586cf17c88b0bb1 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期三, 23 三月 2022 22:38:20 +0800 Subject: [PATCH] 修改ztree复选框默认为父子联动 --- src/pages/cameraAccess/components/CameraInfo.vue | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/src/pages/cameraAccess/components/CameraInfo.vue b/src/pages/cameraAccess/components/CameraInfo.vue index a7a559a..0b5fc59 100644 --- a/src/pages/cameraAccess/components/CameraInfo.vue +++ b/src/pages/cameraAccess/components/CameraInfo.vue @@ -387,6 +387,7 @@ }); this.resolutionList = list; this.sensors = res.data.sensors; + console.log(list); } this.$nextTick(() => { @@ -582,8 +583,23 @@ }, // 娣诲姞璁惧 addDevice(node) { + console.log("1111"); this.isAdd = true; this.addParentId = node; + this.resolutionList = [ + { + label: "鏈満鍒嗚鲸鐜�", + value: "0*0", + }, + { + label: "1920*1080", + value: "1920*1080", + }, + { + label: "2688*1520", + value: "2688*1520", + }, + ]; this.initFormData(); }, }, -- Gitblit v1.8.0