注释
This commit is contained in:
parent
68e7b76775
commit
28f659f5bc
@ -412,8 +412,8 @@ const submitForm = async () => {
|
|||||||
if (!elForm) return
|
if (!elForm) return
|
||||||
elForm.validate(async (valid) => {
|
elForm.validate(async (valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
try {
|
|
||||||
// 提交请求
|
// 提交请求
|
||||||
|
try {
|
||||||
const data = unref(formRef)?.formModel as UserApi.UserVO
|
const data = unref(formRef)?.formModel as UserApi.UserVO
|
||||||
if (actionType.value === 'create') {
|
if (actionType.value === 'create') {
|
||||||
loading.value = true
|
loading.value = true
|
||||||
|
Loading…
Reference in New Issue
Block a user