Ver código fonte

Merge branch 'linwenxin_dev' of https://gogs.zfire.top/zfire-front/zfire-newmall-admin into develop

linwenxin 1 ano atrás
pai
commit
2dd7538a3a
3 arquivos alterados com 8 adições e 11 exclusões
  1. 7 0
      .env.jxproduction
  2. 0 10
      .env.production
  3. 1 1
      src/views/workOrder/orderHome/index.vue

+ 7 - 0
.env.jxproduction

@@ -0,0 +1,7 @@
+# 独立部署配置
+NODE_ENV = production
+ENV = 'production'
+VUE_APP_ENV = 'production'
+VUE_APP_BASE = 'https://jxgree.zfire.top'
+VUE_APP_BASE_OSS = 'https://zf-mall-jx.oss-cn-shenzhen.aliyuncs.com/'
+VUE_APP_BASE_API = 'https://jxgree.zfire.top/zfapi/'

+ 0 - 10
.env.production

@@ -4,13 +4,3 @@ VUE_APP_ENV = 'production'
 VUE_APP_BASE = 'https://sxb.zfire.top'
 VUE_APP_BASE_OSS = 'https://zf-mall.oss-cn-shenzhen.aliyuncs.com/'
 VUE_APP_BASE_API = 'https://sxb.zfire.top/zfapi/'
-
-
-# # 独立部署配置
-# NODE_ENV = production
-# ENV = 'production'
-# VUE_APP_ENV = 'production'
-# VUE_APP_BASE = 'https://jxgree.zfire.top'
-# VUE_APP_BASE_OSS = 'https://zf-mall-jx.oss-cn-shenzhen.aliyuncs.com/'
-# VUE_APP_BASE_API = 'https://jxgree.zfire.top/zfapi/'
-

+ 1 - 1
src/views/workOrder/orderHome/index.vue

@@ -6,7 +6,7 @@
     </div>
     <div class="container_top">
       <div class="tab" v-for="(item, index) in tabs" :key="index" @click="openOrder(item.type, item.title)">
-        <el-image class="img" :src="$showImgUrl(item.url)" fit="fit"></el-image>
+        <el-image class="img" :src="item.url" fit="fit"></el-image>
         <div class="text">
           <div class="title">{{ item.title }}</div>
           <div class="num">{{ item.num }}</div>