twt 3 年之前
父节点
当前提交
ffecabf29b
共有 1 个文件被更改,包括 2 次插入1 次删除
  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;