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(); }, },