twt 3 years ago
parent
commit
ffecabf29b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      operatingCompany/pages/index/index.vue

+ 2 - 1
operatingCompany/pages/index/index.vue

@@ -68,11 +68,12 @@
 				uid: '',
 				count: '',
 				permissionList:'',
+				iStatusBarHeight:'',
 			}
 		},
 		onLoad() {
 			//页面加载初始化生命周期函数
-
+             this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
 		},
 		onShow() {
 			this.uid = uni.getStorageSync("logInData").uid;