pull/14/head
gexinzhineng/gxzn27 2023-03-06 19:30:06 +08:00
parent cc7fb7e43f
commit 68e7b76775
1 changed files with 1 additions and 1 deletions

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