fix: 📝 补充提交

master
Yer 2023-08-09 14:57:35 +08:00
parent 9e7a1b3ee3
commit e138275c0a
1 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ export default {
}, },
mounted() { mounted() {
// //
const cache = this.getStore('managerPCPageCache') const cache = this.getStore('sellerPCPageCache')
this.hasCache = !!cache; this.hasCache = !!cache;
if(cache){ if(cache){
this.$Modal.confirm({ this.$Modal.confirm({
@ -84,7 +84,7 @@ export default {
}, },
methods: { methods: {
clearCache(){ clearCache(){
this.setStore('managerPCPageCache', '') this.setStore('sellerPCPageCache', '')
this.$Message.success('清除成功') this.$Message.success('清除成功')
}, },
// //
@ -92,7 +92,7 @@ export default {
const data ={...this.modelForm} const data ={...this.modelForm}
data.list.unshift(this.$refs.modelForm.navList); data.list.unshift(this.$refs.modelForm.navList);
data.list.unshift(this.$refs.modelForm.topAdvert); data.list.unshift(this.$refs.modelForm.topAdvert);
this.setStore('managerPCPageCache', data) this.setStore('sellerPCPageCache', data)
this.$Message.success('写入成功') this.$Message.success('写入成功')
}, },
saveTemplate() { saveTemplate() {