diff --git a/src/components/navBar/index.vue b/src/components/navBar/index.vue index befadef..e176013 100644 --- a/src/components/navBar/index.vue +++ b/src/components/navBar/index.vue @@ -35,13 +35,12 @@ const backhandle = () => { if (pages.length === 1) return; uni.navigateBack(); }; +const currentWebView = plus.webview.getWebviewById("wv"); const root = document.documentElement; root.style.setProperty( "--statusBarHeight", `${ - plus.storage.getItem("RunTime") === "app" - ? plus.navigator.getStatusbarHeight() - : 0 + currentWebView.RunTime === "app" ? plus.navigator.getStatusbarHeight() : 0 }px` ); diff --git a/src/pages/login/index.vue b/src/pages/login/index.vue index 5a31c9c..355a7a0 100644 --- a/src/pages/login/index.vue +++ b/src/pages/login/index.vue @@ -4,7 +4,7 @@ 登录 - 仓库管理v1.0 + 仓库管理v1.1 使用你的手机号登录