提交 98c14cac 编写于 作者: W wanganxp

测试iOS的tabbar生命周期首次响应问题

上级 6fb95d25
...@@ -553,6 +553,15 @@ ...@@ -553,6 +553,15 @@
arrowRightIcon: '/static/icons/arrow-right.png', arrowRightIcon: '/static/icons/arrow-right.png',
} }
}, },
onLoad() {
// console.log("API page onLoad")
},
onShow() {
// console.log("API page onShow")
},
onHide() {
// console.log("API page onHide")
},
methods: { methods: {
goDetailPage(e : Page) { goDetailPage(e : Page) {
if (e.enable == false) { if (e.enable == false) {
......
...@@ -313,10 +313,15 @@ ...@@ -313,10 +313,15 @@
checkUpdate(this.$refs['upgradePopup'] as UniUpgradeCenterAppComponentPublicInstance) checkUpdate(this.$refs['upgradePopup'] as UniUpgradeCenterAppComponentPublicInstance)
// #endif // #endif
}, },
onLoad() {
// console.log("component page onLoad")
},
onShow() { onShow() {
// console.log("component page onShow")
this.pageHiden = false this.pageHiden = false
}, },
onHide() { onHide() {
// console.log("component page onHide")
this.pageHiden = true this.pageHiden = true
}, },
beforeUnmount() { beforeUnmount() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册