Ver código fonte

change:
1. 添加刷新设备信息接口

kindring 2 anos atrás
pai
commit
6e6ac85eeb
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      web_src/src/components/DeviceList.vue

+ 1 - 1
web_src/src/components/DeviceList.vue

@@ -182,7 +182,7 @@ export default {
       // 调用接口刷新设备数据
       this.$axios.axios({
         method: 'get',
-        url: `/api/device/query/devices/refresh`
+        url: `/api/device/query/refresh`
       }).then( (res)=> {
         if (res.data.code === 0) {
           this.getDeviceList();