diff --git a/src/component/Administrator/affiliate/affiliateAudit/affiliateAudit.vue b/src/component/Administrator/affiliate/affiliateAudit/affiliateAudit.vue index 107d4934..24f1dff7 100644 --- a/src/component/Administrator/affiliate/affiliateAudit/affiliateAudit.vue +++ b/src/component/Administrator/affiliate/affiliateAudit/affiliateAudit.vue @@ -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", diff --git a/src/views/HomeView/history.vue b/src/views/HomeView/history.vue index a5797d9b..c172b58e 100644 --- a/src/views/HomeView/history.vue +++ b/src/views/HomeView/history.vue @@ -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