Vue3 重构:REVIEW 错误码

This commit is contained in:
YunaiV
2023-03-20 08:53:28 +08:00
parent 7534a08315
commit 812300cc04
2 changed files with 15 additions and 4 deletions

View File

@ -74,8 +74,6 @@ defineExpose({ openModal }) // 提供 openModal 方法,用于打开弹窗
/** 提交表单 */
const emit = defineEmits(['success']) // 定义 success 事件,用于操作成功后的回调
/** 提交按钮 */
const submitForm = async () => {
// 校验表单
if (!formRef) return