fix: 修复关闭子页面后主页面数据不刷新问题
parent
3cf649a932
commit
a94131e061
|
|
@ -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);
|
||||
},
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
},
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue