fix: 修复关闭子页面后主页面数据不刷新问题

rf
tony 2023-02-27 20:16:49 +08:00
parent 3cf649a932
commit a94131e061
5 changed files with 10 additions and 10 deletions

View File

@ -174,8 +174,8 @@ export default {
/** 返回页面 */
goBack() {
//
this.$store.dispatch("tagsView/delView", this.$route);
this.$router.go(-1)
const obj = { path: "/task/finished", query: { t: Date.now()} };
this.$tab.closeOpenPage(obj);
},
}
};

View File

@ -173,8 +173,8 @@ export default {
/** 返回页面 */
goBack() {
//
this.$store.dispatch("tagsView/delView", this.$route);
this.$router.go(-1)
const obj = { path: "/task/process", query: { t: Date.now()} };
this.$tab.closeOpenPage(obj);
},
}
};

View File

@ -109,8 +109,8 @@ export default {
/** 返回页面 */
goBack() {
//
this.$store.dispatch("tagsView/delView", this.$route);
this.$router.go(-1)
const obj = { path: "/task/process", query: { t: Date.now()} };
this.$tab.closeOpenPage(obj);
},
/** 接收子组件传的值 */
getData(data) {

View File

@ -380,8 +380,8 @@ export default {
/** 返回页面 */
goBack() {
//
this.$store.dispatch("tagsView/delView", this.$route);
this.$router.go(-1)
const obj = { path: "/task/todo", query: { t: Date.now()} };
this.$tab.closeOpenPage(obj);
},
/** 驳回任务 */
handleReject() {

View File

@ -544,8 +544,8 @@ export default {
this.idGlobal = 100
this.open = false;
//
this.$store.dispatch("tagsView/delView", this.$route);
this.$router.go(-1)
const obj = { path: "/flowable/form", query: { t: Date.now()} };
this.$tab.closeOpenPage(obj);
}
});
}