You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
576 B
Vue

<script lang="ts">
import Vue from 'vue';
// #ifdef APP-PLUS
import checkAppUpdate from '@/plugins/app-update';
// #endif
export default Vue.extend({
mpType: 'app',
onLaunch() {
console.log('App Launch');
// #ifdef APP-PLUS
checkAppUpdate();
// #endif
},
onShow() {
console.log('App Show');
},
onHide() {
console.log('App Hide');
},
});
</script>
<style lang="scss">
/* 注意要写在第一行同时给style标签加入lang="scss"属性 */
@import '~uview-ui/index.scss';
/*每个页面公共css */
page {
height: 100%;
}
</style>