@ -143,6 +143,7 @@ export default {
},
/* 小程序分享 */
// #ifdef MP-WEIXIN
onShareAppMessage(res) {
this.share.path = this.getCurrentRouteYm();
// console.log(this.share.path, "this.share.path", res);
@ -164,5 +165,7 @@ export default {
})
}
// #endif
@ -107,18 +107,16 @@
value = value.slice(0,value.lastIndexOf("#"));
if(value == "/pages/tabBar/home/home" || value == "/pages/tabBar/category/category" || value == "/pages/tabBar/user/user"){
uni.switchTab({
uni.reLaunch({
url: value
return
if(value != "/"){
uni.navigateTo({
return;