Sfoglia il codice sorgente

fix(config): 更新开发和体验版环境配置

- 将开发环境地址从 http://47.109.84.152:8081 切换到 https://smqjh.api.zswlgz.com
- 将体验版环境地址从 http://47.109.84.152:8081 切换到 https://smqjh.api.zswlgz.com

fix(orderDetaile): 修复退款状态判断逻辑

- 修改订单详情页退款状态条件判断,将 refundStatus == 2 改为 refundStatus != 2
- 确保正确的售后处理逻辑触发条件

chore(manifest): 修复JSON格式问题

- 移除多余的逗号,修正manifest.json文件格式
zhangtao 1 giorno fa
parent
commit
f6c7ac2fbf
2 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  1. 4 4
      src/config/index.ts
  2. 1 1
      src/subPack-xsb/orderDetaile/index.vue

+ 4 - 4
src/config/index.ts

@@ -7,16 +7,16 @@ const mapEnvVersion = {
   // develop: 'http://192.168.0.157:8080',
   // develop: 'http://192.168.1.253:8080',
   // develop: 'http://192.168.1.89:8080', // 田
-  develop: 'http://47.109.84.152:8081',
-  // develop: 'https://smqjh.api.zswlgz.com',
+  // develop: 'http://47.109.84.152:8081',
+  develop: 'https://smqjh.api.zswlgz.com',
   /**
    * 体验版
    */
   // trial: "http://192.168.1.166:8080/jeecg-boot",
   // trial: 'http://192.168.0.157:8080',
-  trial: 'http://47.109.84.152:8081',
+  // trial: 'http://47.109.84.152:8081',
   // trial: 'http://192.168.1.166:8080',
-  // trial: 'https://smqjh.api.zswlgz.com',
+  trial: 'https://smqjh.api.zswlgz.com',
   /**
    * 正式版
    */

+ 1 - 1
src/subPack-xsb/orderDetaile/index.vue

@@ -390,7 +390,7 @@ async function handleReceive() {
             </Zcontact>
           </view>
           <view
-            v-if="orderInfo.refundStatus == 2 || [OrderStatus.OrderCompleted, OrderStatus.OrderWaitDelivery, OrderStatus.OrderAccepted].includes(orderInfo.hbOrderStatus)"
+            v-if="orderInfo.refundStatus != 2 || [OrderStatus.OrderCompleted, OrderStatus.OrderWaitDelivery, OrderStatus.OrderAccepted].includes(orderInfo.hbOrderStatus)"
             class="flex flex-col items-center" @click="handleAfterSale"
           >
             <image :src="`${StaticUrl}/orderDetaile-shou.png`" class="h40rpx w40rpx" />