This commit is contained in:
gexinzhineng/gxzn27 2023-03-06 19:30:06 +08:00
parent cc7fb7e43f
commit 68e7b76775

View File

@ -408,12 +408,12 @@ const handleDetail = async (rowId: number) => {
//
const submitForm = async () => {
//
const elForm = unref(formRef)?.getElFormRef()
if (!elForm) return
elForm.validate(async (valid) => {
if (valid) {
try {
//
const data = unref(formRef)?.formModel as UserApi.UserVO
if (actionType.value === 'create') {
loading.value = true