648540858
2021-12-28 726963ba772dde3e9bfaf52c7c398c0050ca1859
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'
                  });
               }