|
@@ -15545,8 +15545,8 @@ window.Modernizr = function(n, e, t) {
|
|
|
},
|
|
|
dataType: "json",
|
|
|
contentType: "application/json",
|
|
|
- url: url + `/api/device/getStatus/${hardware.deviceCode}`,
|
|
|
- success: function (data) {
|
|
|
+ url: `/api/device/getStatus/${hardware.deviceCode}`,
|
|
|
+ success: (data)=> {
|
|
|
console.log(data)
|
|
|
if (data.code === 0) {
|
|
|
if(hardware.devTypeId == "温湿度"){
|