diff --git a/src/pages/match/add/index.vue b/src/pages/match/add/index.vue index 32c2bfb..973c39e 100644 --- a/src/pages/match/add/index.vue +++ b/src/pages/match/add/index.vue @@ -223,7 +223,14 @@ export default { // 发布后的逻辑 next (next, setupId, competitionId, type) { if (!next) { - this.$router.push(`/match`) + if (this.step === 3 && this.$refs['step' + this.step].form[0].contentId) { + // 处于第三步 && 编辑 + this.editing = 0 + this.step = 1 + } else { + // 新增 + this.$router.push(`/match`) + } } else if (next === 2) { if (setupId) this.setupId = setupId if (competitionId) { diff --git a/src/pages/match/manage/matchInfo.vue b/src/pages/match/manage/matchInfo.vue index 3e41105..1be62af 100644 --- a/src/pages/match/manage/matchInfo.vue +++ b/src/pages/match/manage/matchInfo.vue @@ -124,7 +124,7 @@ {{ i + 1 }} {{ item.stageName }}