实现history页面缓存

This commit is contained in:
X1627315083
2025-11-11 13:38:36 +08:00
parent ef1378a1ad
commit 0b9de55f34
12 changed files with 158 additions and 74 deletions

View File

@@ -127,6 +127,7 @@ const HomeStoreModule : Module<DesignDetail,RootState> = {
}
},
toolsClear(state){
console.log('toolsClear')
state.relightList.likedList = []
state.uploadElement = []
state.toProductImageList.likedList = []
@@ -225,6 +226,7 @@ const HomeStoreModule : Module<DesignDetail,RootState> = {
state.designId = ''
},
clearAllCollection(state){
console.log('clearAll')
state.designCollectionList=[]
state.likeDesignCollectionList = []
state.designCollectionId = ''

View File

@@ -45,7 +45,8 @@ const Workspace: Module<DesignDetail, RootState> = {
model: [] //模特
},
projectList: [], //项目列表参数
projectPath:''
projectPath:'',
cachedRoutes: [],
},
mutations: {
setWorkspace(state, files) {