增加培训班管理,增加购物车功能
This commit is contained in:
@@ -306,6 +306,7 @@ export default {
|
||||
return false;
|
||||
},
|
||||
},
|
||||
backToMyPage: Boolean
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -416,6 +417,11 @@ export default {
|
||||
if (this.backState == 3000) {
|
||||
this.$emit("backClick");
|
||||
} else {
|
||||
if (this.backToMyPage) {
|
||||
uni.switchTab({ url: '/pages/my/index' });
|
||||
|
||||
return
|
||||
}
|
||||
this.$emit('back');
|
||||
uni.navigateBack();
|
||||
}
|
||||
@@ -426,7 +432,7 @@ export default {
|
||||
this.$emit("homeClick");
|
||||
} else {
|
||||
uni.switchTab({
|
||||
url: '/pages/homePage/index/index',
|
||||
url: '/pages/home/index',
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user