SmartStorage/App.vue

21 lines
376 B
Vue
Raw Normal View History

2023-12-20 15:15:23 +08:00
<script>
2024-04-28 09:12:19 +08:00
export default {
onLaunch: function () {
// app内禁止横屏
plus.screen.lockOrientation('portrait-primary')
console.log('App Launch')
},
onShow: function () {
console.log('App Show')
},
onHide: function () {
console.log('App Hide')
2023-12-20 15:15:23 +08:00
}
2024-04-28 09:12:19 +08:00
}
2023-12-20 15:15:23 +08:00
</script>
<style lang="scss">
2024-04-28 09:12:19 +08:00
/*每个页面公共css */
@import "@/uni_modules/uview-ui/index.scss";
2023-12-20 15:15:23 +08:00
</style>