From 86fdf7285657727a3f893496fd54c65e7788c51b Mon Sep 17 00:00:00 2001 From: koisi <kor.coeo@gmail.com> Date: 星期一, 05 八月 2024 15:40:24 +0800 Subject: [PATCH] 修复语法错误导致的前端编译异常 --- web_src/src/components/common/DeviceTree.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web_src/src/components/common/DeviceTree.vue b/web_src/src/components/common/DeviceTree.vue index c701bf0..6030dc8 100755 --- a/web_src/src/components/common/DeviceTree.vue +++ b/web_src/src/components/common/DeviceTree.vue @@ -131,11 +131,11 @@ type = 2; } console.log(type) - if (item.basicData.ptztype === 1 ) { // 1-鐞冩満;2-鍗婄悆;3-鍥哄畾鏋満;4-閬ユ帶鏋満 + if (item.basicData.ptzType === 1 ) { // 1-鐞冩満;2-鍗婄悆;3-鍥哄畾鏋満;4-閬ユ帶鏋満 type = 4; - }else if (item.basicData.ptztype === 2) { + }else if (item.basicData.ptzType === 2) { type = 5; - }else if (item.basicData.ptztype === 3 || item.basicData.ptztype === 4) { + }else if (item.basicData.ptzType === 3 || item.basicData.ptzType === 4) { type = 6; } }else { -- Gitblit v1.8.0