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