测试取消系统页面配置缓存

This commit is contained in:
TOP糯米 2023-03-24 02:22:51 +08:00
parent f8145e492e
commit d55c8ee65a
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ export default {
},
onLaunch: function () {
let pageConfig = this.$storage.get("system_config");
if (!pageConfig) {
if (pageConfig) {
const { windowWidth, windowHeight, statusBarHeight, safeAreaInsets } = uni.getSystemInfoSync();
// #ifndef H5
const { height, top } = uni.getMenuButtonBoundingClientRect();