瀏覽代碼

no message

DaMowang 3 年之前
父節點
當前提交
394e2336f3
共有 1 個文件被更改,包括 8 次插入1 次删除
  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