Browse Source

fix: 更新设备通讯MAC字段

lkd9698906@163.com 5 months ago
parent
commit
1d1a6f7683
2 changed files with 3 additions and 2 deletions
  1. 1 1
      src/pages/device/list/Index.vue
  2. 2 1
      vite.config.ts

+ 1 - 1
src/pages/device/list/Index.vue

@@ -128,7 +128,7 @@
                   <div style="margin-left: 3px;">位置</div>
                 </div>
                 <div v-else>暂无定位</div>
-                <div></div>
+                <div>{{ item.netMac }}</div>
                 <div style="display: flex; color: #000;" @click.stop="onLog(item.mac)">
                   <div>
                     <van-icon name="static/images/icon-log.png" size="1.5rem" />

+ 2 - 1
vite.config.ts

@@ -28,7 +28,8 @@ export default defineConfig({
     proxy: {
       '/forward-service': {
         // target: 'http://192.168.103.33:8585/',
-        target: 'http://192.168.100.115:8585/', // 生产环境
+        target: 'http://192.168.104.74:8585/',// 测试环境
+        // target: 'http://192.168.100.115:8585/', // 生产环境
         changeOrigin: true,
         rewrite: (path) => {
           // console.log('path', path)