首次提交
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {};
|
||||
},
|
||||
globalData: {
|
||||
userInfo: null,
|
||||
baseUrl: 'https://api.inkreach.com'
|
||||
},
|
||||
onLaunch() {
|
||||
const sysInfo = uni.getWindowInfo();
|
||||
this.globalData.statusBarHeight = sysInfo.statusBarHeight;
|
||||
this.globalData.windowWidth = sysInfo.windowWidth;
|
||||
this.globalData.windowHeight = sysInfo.windowHeight;
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style>
|
||||
@import './app.css';
|
||||
</style>
|
||||
Reference in New Issue
Block a user