From e138275c0a018abc2dae12121c8a9775efd9024c Mon Sep 17 00:00:00 2001 From: Yer <17633066053@163.com> Date: Wed, 9 Aug 2023 14:57:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:memo:=20=E8=A1=A5=E5=85=85=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seller/src/views/shop/renovation.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/seller/src/views/shop/renovation.vue b/seller/src/views/shop/renovation.vue index 004ef1c7..3dc42949 100644 --- a/seller/src/views/shop/renovation.vue +++ b/seller/src/views/shop/renovation.vue @@ -45,7 +45,7 @@ export default { }, mounted() { // 先读缓存,如果缓存有值则读缓存。 - const cache = this.getStore('managerPCPageCache') + const cache = this.getStore('sellerPCPageCache') this.hasCache = !!cache; if(cache){ this.$Modal.confirm({ @@ -84,7 +84,7 @@ export default { }, methods: { clearCache(){ - this.setStore('managerPCPageCache', '') + this.setStore('sellerPCPageCache', '') this.$Message.success('清除成功') }, // 将楼层装修的内容写入到本地缓存中 @@ -92,7 +92,7 @@ export default { const data ={...this.modelForm} data.list.unshift(this.$refs.modelForm.navList); data.list.unshift(this.$refs.modelForm.topAdvert); - this.setStore('managerPCPageCache', data) + this.setStore('sellerPCPageCache', data) this.$Message.success('写入成功') }, saveTemplate() {