取消订阅新加条件
This commit is contained in:
@@ -454,11 +454,7 @@ export default defineComponent({
|
||||
// router.push(`/home?history=${data.id}`)
|
||||
// if(data.id)
|
||||
if(data.id === this.store.state.Workspace.probjects.id){
|
||||
let cachedRoutes = this.store.state.Workspace.cachedRoutes
|
||||
for (let i = cachedRoutes.length - 1; i >= 0; i--) {
|
||||
cachedRoutes.splice(i, 1);
|
||||
}
|
||||
this.store.commit('setProjectPath','')
|
||||
this.store.commit('createProjectPath','')
|
||||
}
|
||||
// this.getHistoryList()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user