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;