hookehuyr

未完成表单只有在手机端才生效

......@@ -53,7 +53,7 @@ router.beforeEach((to, from, next) => {
} else {
if (to.query.page_type === 'add' || to.query.page_type === undefined) { // 表单为新增状态, 检查是否有未完成的表单信息
const existingCookie = Cookies.get(to.query.code);
if (existingCookie) {
if (existingCookie && to.query.force_back !== '1') {
showConfirmDialog({
title: '温馨提示',
message: '您还未完成的表单,是否继续?',
......