实现history页面缓存
This commit is contained in:
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user