| src/page/index/logo.vue | ●●●●● patch | view | raw | blame | history |
src/page/index/logo.vue
@@ -138,10 +138,10 @@ var that = this; axios({ url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/alarm/alarm/page?current=1&size=1', url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/alarm/alarm/getLimit', method: 'get', }).then(function (response) { that.deviceId = response.data.data.records[0].id; that.deviceId = response.data.data[0].id; //获得最新ID,开启实时报警循环 that.layerRealtime(); });