From ef92bcfe3a962c0fa77bbfb871dcb593cb64ed54 Mon Sep 17 00:00:00 2001 From: Yer <17633066053@163.com> Date: Mon, 25 Sep 2023 10:05:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20=E4=BF=AE=E6=94=B9=E9=83=A8?= =?UTF-8?q?=E5=88=86=E5=B7=B2=E7=9F=A5=E7=9A=84Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/views/page-decoration/renovation.vue | 8 +++++++- seller/src/views/shop/renovation.vue | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/manager/src/views/page-decoration/renovation.vue b/manager/src/views/page-decoration/renovation.vue index 546a0592..3a63cfe3 100644 --- a/manager/src/views/page-decoration/renovation.vue +++ b/manager/src/views/page-decoration/renovation.vue @@ -15,7 +15,7 @@ -
+
@@ -35,6 +35,8 @@ export default { ModelForm, }, mounted() { + const setting = window.localStorage.getItem('admin-setting') ? JSON.parse(window.localStorage.getItem('admin-setting')) : {}; + this.isHiddenBar = setting.isUseTabsRouter // 先读缓存,如果缓存有值则读缓存。 const cache = this.getStore('managerPCPageCache') this.hasCache = !!cache; @@ -71,6 +73,7 @@ export default { modelData, // 可选模块数据 modelForm: { list: [] }, // 模板数据 submitLoading: false, // 提交加载状态 + isHiddenBar:true, }; }, methods: { @@ -219,6 +222,9 @@ export default { padding: 10px; box-shadow: 1px 1px 10px #999; z-index: 99; + +} +.top{ top: 100px; } diff --git a/seller/src/views/shop/renovation.vue b/seller/src/views/shop/renovation.vue index 3dc42949..0a267633 100644 --- a/seller/src/views/shop/renovation.vue +++ b/seller/src/views/shop/renovation.vue @@ -23,7 +23,7 @@
-
+
@@ -44,6 +44,8 @@ export default { ModelForm, }, mounted() { + const setting = window.localStorage.getItem('admin-setting') ? JSON.parse(window.localStorage.getItem('admin-setting')) : {}; + this.isHiddenBar = setting.isUseTabsRouter // 先读缓存,如果缓存有值则读缓存。 const cache = this.getStore('sellerPCPageCache') this.hasCache = !!cache; @@ -80,6 +82,7 @@ export default { modelData, // 可选模块数据 modelForm: { list: [] }, // 模板数据 submitLoading: false, // 提交加载状态 + isHiddenBar:true, }; }, methods: { @@ -225,4 +228,7 @@ export default { z-index: 99; top: 100px; } +.top{ + top: 100px; +}