测试取消系统页面配置缓存
This commit is contained in:
parent
51a23c558b
commit
acb9a85d14
|
@ -5,7 +5,7 @@ export default {
|
||||||
},
|
},
|
||||||
onLaunch: async function () {
|
onLaunch: async function () {
|
||||||
let pageConfig = this.$storage.get("system_config");
|
let pageConfig = this.$storage.get("system_config");
|
||||||
if (!pageConfig) {
|
if (pageConfig) {
|
||||||
const { windowWidth, windowHeight, statusBarHeight, safeAreaInsets } = uni.getSystemInfoSync();
|
const { windowWidth, windowHeight, statusBarHeight, safeAreaInsets } = uni.getSystemInfoSync();
|
||||||
// #ifndef H5
|
// #ifndef H5
|
||||||
const { height, top } = uni.getMenuButtonBoundingClientRect();
|
const { height, top } = uni.getMenuButtonBoundingClientRect();
|
||||||
|
|
Loading…
Reference in New Issue