Affiliate增加链接访问数量 修复项目设置current project不会更新问题

This commit is contained in:
X1627315083
2025-11-13 11:21:27 +08:00
parent c0d3baa6ee
commit d0e2f9e066
2 changed files with 16 additions and 1 deletions

View File

@@ -452,7 +452,15 @@ export default defineComponent({
},
handleConfirmEdit({ data }) {
// router.push(`/home?history=${data.id}`)
this.getHistoryList()
// 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.getHistoryList()
},
retrieveHome(record: any) {
// let num = true