huang_an hai 1 ano
pai
achega
f0aebd6161
Modificáronse 2 ficheiros con 3 adicións e 3 borrados
  1. 2 2
      src/views/warehouseManagement/stockManagement/index.vue
  2. 1 1
      vue.config.js

+ 2 - 2
src/views/warehouseManagement/stockManagement/index.vue

@@ -180,8 +180,8 @@
         </template>
         <!-- 状态 -->
         <template v-slot:verifyStatus="{ row }">
-          <span :class="status[row.verifyStatus].class">
-            {{ status[row.verifyStatus].label }}
+          <span :class="status[row.verifyStatus]?.class">
+            {{ status[row.verifyStatus]?.label }}
           </span>
         </template>
         <!-- 单号链接 -->

+ 1 - 1
vue.config.js

@@ -35,7 +35,7 @@ module.exports = {
         // target: 'http://124.71.68.31:50001',
         // target: 'http://192.168.1.132:18086',
         // target: 'http://192.168.1.251:18086',
-        target: 'http://192.168.1.251:18086',
+        target: 'http://192.168.1.116:18086',
         changeOrigin: true, // 只有这个值为true的情况下 才表示开启跨域
         pathRewrite: {
           '^/api': ''