Commit 1a900fb4 authored by Mac's avatar Mac

修改跳转

parent b9eb95c9
......@@ -450,7 +450,8 @@
uni.hideNavigationBarLoading();
}, 500);
this.mainColor = this.$uiConfig.mainColor;
this.init();
// this.init();
this.getIsOpenReserve();
},
methods: {
......
......@@ -188,19 +188,19 @@
uni.setStorageSync("storeId", {storeId:item.Id});
this.currentChosen = item.Id
let pages = getCurrentPages(); // 当前页面
let beforePage = pages[pages.length - 2]; // 前一个页面
setTimeout(()=>{
uni.navigateBack({
delta:1,
success: function() {
beforePage.$vm.getCurrentStore(); // 执行前一个页面的方法
}
});
},100)
// uni.navigateTo({
// url: "/pages/reserve/storeDetails?id="+item.Id,
// });
// let pages = getCurrentPages(); // 当前页面
// let beforePage = pages[pages.length - 2]; // 前一个页面
// setTimeout(()=>{
// uni.navigateBack({
// delta:1,
// success: function() {
// beforePage.$vm.getCurrentStore(); // 执行前一个页面的方法
// }
// });
// },100)
uni.navigateTo({
url: "/pages/reserve/storeDetails?id="+item.Id,
});
},
radioChange(e){
uni.setStorageSync("storeId", {storeId:this.currentChosen});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment