提交 83e0b23f 编写于 作者: W wanganxp

屏蔽升级中心

上级 af034d0b
......@@ -40,7 +40,7 @@
</template>
</uni-collapse>
<upgradePopup ref="upgradePopup" @close="upgradePopupClose" />
<!-- <upgradePopup ref="upgradePopup" @close="upgradePopupClose" /> -->
</view>
<!-- #ifdef APP -->
</scroll-view>
......@@ -48,8 +48,8 @@
</template>
<script lang="uts">
import checkUpdate from '@/uni_modules/uni-upgrade-center-app/utils/check-update'
import upgradePopup from '@/uni_modules/uni-upgrade-center-app/pages/upgrade-popup-uts.uvue'
/* import checkUpdate from '@/uni_modules/uni-upgrade-center-app/utils/check-update'
import upgradePopup from '@/uni_modules/uni-upgrade-center-app/pages/upgrade-popup-uts.uvue' */
type Page = {
name : string
......@@ -271,9 +271,9 @@ export default {
arrowRightIcon: '/static/icons/arrow-right.png',
}
},
components: {
/* components: {
upgradePopup: upgradePopup
},
}, */
methods: {
goDetailPage(e : Page) {
if (e.enable == false) {
......@@ -293,12 +293,13 @@ export default {
console.log('upgradePopup close');
}
},
/* ,
onReady() {
checkUpdate(this.$refs['upgradePopup'] as ComponentPublicInstance)
},
beforeUnmount() {
uni.showTabBar()?.catch(_ => {})
}
} */
}
</script>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册