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

屏蔽升级中心

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