Przeglądaj źródła

chore(KIP-7551): 修改开发环境下的图片无法预览问题

John-Hong 2 lat temu
rodzic
commit
30a31845ff
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1 1
      src/store/index.js
  2. 1 1
      vue.config.js

+ 1 - 1
src/store/index.js

@@ -32,7 +32,7 @@ const store = new Vuex.Store({
     member: {},
     userInfo: {},
     mobile: '',
-    custTypeId: 0, // 0 默认版本,1 上海静安 2 上海浦东 3 KIP:默认版本
+    custTypeId: 3, // 0 默认版本,1 上海静安 2 上海浦东 3 KIP:默认版本
     paramsScene: {},
     parkFee: {},
     marketList: [],

+ 1 - 1
vue.config.js

@@ -66,7 +66,7 @@ module.exports = {
               publicPath:
                 process.env.NODE_ENV === 'production'
                   ? CDN_URL + '/static/img'
-                  : '/static/img',
+                  : '/tparking/static/img',
               outputPath: 'static/img',
             },
           },