|
@@ -287,12 +287,6 @@ export default {
|
|
|
},
|
|
|
computed: mapGetters(['isLogin']),
|
|
|
onShow () {
|
|
|
- let allPages = getCurrentPages(); //获取当前页面栈的实例;
|
|
|
- console.log("allPages->", allPages);
|
|
|
- let lastPages = allPages.length - 1; // 获得倒数第二个元素的索引;
|
|
|
- console.log("lastPages->", lastPages);
|
|
|
- let option = allPages[lastPages].options; // 获得上个页面传递的参数;
|
|
|
- console.log("option->", option);
|
|
|
|
|
|
console.log("onShow事件,全局变量1--------", getApp().globalData.switchId, this.$route)
|
|
|
let ContentIndex = getApp().globalData.switchId//获取到传参
|
|
@@ -447,10 +441,6 @@ export default {
|
|
|
title: err
|
|
|
});
|
|
|
});
|
|
|
- } else if (res.cancel) {
|
|
|
- return that.$util.Tips({
|
|
|
- title: that.$t(`已取消`)
|
|
|
- });
|
|
|
}
|
|
|
}
|
|
|
});
|