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

35 lines
622 B

1 year ago
<script>
import api from "@/utils/functions";
export default {
1 year ago
onLaunch: function() {
console.log('App Launch')
},
onShow: function() {
},
onHide: function() {
console.log('App Hide')
},
mounted() {
},
created() {
if(!uni.getStorageSync('sysInfo')){
uni.showLoading({title:'加载中'});
api.uniSysInfo().then(data => {
uni.hideLoading();
}).catch(err => {
uni.hideLoading();
uni.$u.toast(err);
});
}
},
1 year ago
}
</script>
<style lang="scss">
/*每个页面公共css */
@import "uview-plus/index.scss";
</style>