Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -53,7 +53,7 @@ router.beforeEach((to, from, next) => { | ... | @@ -53,7 +53,7 @@ router.beforeEach((to, from, next) => { |
| 53 | } else { | 53 | } else { |
| 54 | if (to.query.page_type === 'add' || to.query.page_type === undefined) { // 表单为新增状态, 检查是否有未完成的表单信息 | 54 | if (to.query.page_type === 'add' || to.query.page_type === undefined) { // 表单为新增状态, 检查是否有未完成的表单信息 |
| 55 | const existingCookie = Cookies.get(to.query.code); | 55 | const existingCookie = Cookies.get(to.query.code); |
| 56 | - if (existingCookie) { | 56 | + if (existingCookie && to.query.force_back !== '1') { |
| 57 | showConfirmDialog({ | 57 | showConfirmDialog({ |
| 58 | title: '温馨提示', | 58 | title: '温馨提示', |
| 59 | message: '您还未完成的表单,是否继续?', | 59 | message: '您还未完成的表单,是否继续?', | ... | ... |
-
Please register or login to post a comment