Browse Source

```
feat(config): 更新开发环境配置

移除过期的开发服务器地址,启用当前有效的开发服务器配置
- 启用 192.168.0.157:8080 作为开发服务器
- 注释掉 47.109.84.152:8081 服务器地址

fix(paySuccess): 修复支付成功页面路由跳转逻辑

将路由跳转方式从 push 改为 replace,避免用户返回时出现重复页面
- 使用 router.replace 替代 router.push
- 防止支付成功页面在导航栈中重复

fix(payError): 修复支付失败页面路由跳转逻辑

将路由跳转方式从 push 改为 replace,避免用户返回时出现重复页面
- 使用 router.replace 替代 router.push
- 防止支付失败页面在导航栈中重复
```

zhangtao 2 days ago
parent
commit
cc8ff4f490

+ 2 - 2
src/config/index.ts

@@ -13,10 +13,10 @@ const mapEnvVersion = {
    */
   // develop: 'http://192.168.1.166:8080', // 张
   // develop: 'http://192.168.1.101:8080',
-  // develop: 'http://192.168.0.157:8080',
+  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: 'http://47.109.84.152:8081',
   // develop: 'https://smqjh.api.zswlgz.com',
   /**
    * 体验版

+ 1 - 1
src/subPack-common/payError/index.vue

@@ -48,7 +48,7 @@ function handleBackIndex() {
         </view>
         <view class="mt60rpx flex items-center">
           <wd-button
-            type="info" block size="large" @click=" router.push({ name: paySuccessPath })"
+            type="info" block size="large" @click=" router.replace({ name: paySuccessPath })"
           >
             <text class="text-32rpx font-semibold">
               查看订单

+ 1 - 1
src/subPack-common/paySuccess/index.vue

@@ -48,7 +48,7 @@ function handleBackIndex() {
         </view>
         <view class="mt60rpx flex items-center">
           <wd-button
-            type="info" block size="large" @click=" router.push({ name: paySuccessPath })"
+            type="info" block size="large" @click="router.replace({ name: paySuccessPath })"
           >
             <text class="text-32rpx font-semibold">
               查看订单