From 206f47f42ac9c679da1a4154b58d37441360f068 Mon Sep 17 00:00:00 2001 From: shizy@yisa.com <shizy@yisa.com> Date: 星期三, 29 十二月 2021 17:53:05 +0800 Subject: [PATCH] 修复获取设备信息信令Catalog不标准问题 PTZType,级联的Longitude、Latitude、PTZType等 --- web_src/src/components/DeviceList.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web_src/src/components/DeviceList.vue b/web_src/src/components/DeviceList.vue index f064950..586aaee 100644 --- a/web_src/src/components/DeviceList.vue +++ b/web_src/src/components/DeviceList.vue @@ -196,16 +196,16 @@ url: '/api/device/query/devices/' + itemData.deviceId + '/sync' }).then(function(res) { console.log("鍒锋柊璁惧缁撴灉锛�"+JSON.stringify(res)); - if (!res.data.deviceId) { + if (res.data.code !==0) { that.$message({ showClose: true, - message: res.data, + message: res.data.msg, type: 'error' }); }else{ that.$message({ showClose: true, - message: '璇锋眰鎴愬姛', + message: res.data.msg, type: 'success' }); } -- Gitblit v1.8.0