Browse Source

no message

DaMowang 3 years ago
parent
commit
394e2336f3
1 changed files with 8 additions and 1 deletions
  1. 8 1
      src/pages/szw-order-list/index.vue

+ 8 - 1
src/pages/szw-order-list/index.vue

@@ -266,7 +266,14 @@ export default {
         //执行uniapp的返回操作
         // else uni.navigateBack()
         
-        this.goto("/pages/my/index")
+        // #ifdef  H5 || APP-PLUS
+        this.goto("/pages/my/index");
+        // #endif
+        // #ifdef  MP-WEIXIN
+        uni.switchTab({
+            url: "/pages/my/index"
+        });
+        // #endif
             
         //返回true表示我要自定义onBackPress
         return true