|
|
@@ -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
|