@@ -140,11 +140,10 @@
scrollTop: 0
};
},
- onLoad: function() {
+ onShow: function() {
const that = this;
that.searchConfig();
that.watchLogin();
-
methods: {
// 查询基本设置
@@ -170,6 +169,7 @@
// 购买
toView(e) {
+ that.clearPage();
uni.navigateTo({
url: `/pagesHome/order/detail?id=${e._id}`
})
@@ -120,11 +120,10 @@
@@ -251,6 +250,7 @@
// 详细信息
url: `/pagesHome/shop/index?id=${e._id}`