Affiliate增加链接访问数量 修复项目设置current project不会更新问题
This commit is contained in:
@@ -115,6 +115,13 @@ export default defineComponent({
|
||||
width: 100,
|
||||
dataIndex: "status",
|
||||
key: "status",
|
||||
},{
|
||||
title: 'Visits',
|
||||
align: "center",
|
||||
ellipsis: true,
|
||||
width: 100,
|
||||
dataIndex: "visits",
|
||||
key: "visits",
|
||||
},{
|
||||
title: 'Commission Percent',
|
||||
align: "center",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user