From 7fa086f692eb7d83efa2188cbe1f96c1c76585d1 Mon Sep 17 00:00:00 2001 From: sakuya <81883387@qq.com> Date: Thu, 26 May 2022 12:34:22 +0800 Subject: [PATCH] Update save.vue --- src/views/template/list/crud/save.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/template/list/crud/save.vue b/src/views/template/list/crud/save.vue index bd3afe6e..4f136d80 100644 --- a/src/views/template/list/crud/save.vue +++ b/src/views/template/list/crud/save.vue @@ -76,7 +76,7 @@ }, //表单提交方法 async submit(){ - var valid = await this.$refs.dialogForm.validate().catch(e => {}) + var valid = await this.$refs.dialogForm.validate().catch(() => {}) if(!valid){ return false }