twt лет назад: 3
Родитель
Сommit
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;