main
gexinzhineng/gxzn27 3 years ago
parent cc7fb7e43f
commit 68e7b76775

@ -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

Loading…
Cancel
Save