处理待办事项
This commit is contained in:
50
App.vue
50
App.vue
@@ -1,25 +1,25 @@
|
||||
<script>
|
||||
// import {ShoppingCartType} from '@/common/constants';
|
||||
export default {
|
||||
onLaunch: function () {
|
||||
// const shoppingCartType = uni.getStorageSync('SHOPPING_CART_TYPE');
|
||||
// if (!shoppingCartType) {
|
||||
// uni.setStorageSync('SHOPPING_CART_TYPE', ShoppingCartType.PHONE)
|
||||
// }
|
||||
|
||||
// uni.hideTabBar()
|
||||
console.log('App Launch')
|
||||
},
|
||||
onShow: function() {
|
||||
// uni.hideTabBar()
|
||||
console.log('App Show')
|
||||
},
|
||||
onHide: function() {
|
||||
console.log('App Hide')
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
@import "@/uni_modules/nutui-uni/styles/index.scss";
|
||||
</style>
|
||||
<script>
|
||||
// import {ShoppingCartType} from '@/common/constants';
|
||||
export default {
|
||||
onLaunch: function() {
|
||||
// const shoppingCartType = uni.getStorageSync('SHOPPING_CART_TYPE');
|
||||
// if (!shoppingCartType) {
|
||||
// uni.setStorageSync('SHOPPING_CART_TYPE', ShoppingCartType.PHONE)
|
||||
// }
|
||||
|
||||
// uni.hideTabBar()
|
||||
console.log('App Launch')
|
||||
},
|
||||
onShow: function() {
|
||||
// uni.hideTabBar()
|
||||
console.log('App Show')
|
||||
},
|
||||
onHide: function() {
|
||||
console.log('App Hide')
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
@import "@/uni_modules/nutui-uni/styles/index.scss";
|
||||
</style>
|
||||
Reference in New Issue
Block a user