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 }