注释
This commit is contained in:
parent
cc7fb7e43f
commit
68e7b76775
@ -408,12 +408,12 @@ const handleDetail = async (rowId: number) => {
|
|||||||
|
|
||||||
// 提交按钮
|
// 提交按钮
|
||||||
const submitForm = async () => {
|
const submitForm = async () => {
|
||||||
// 提交请求
|
|
||||||
const elForm = unref(formRef)?.getElFormRef()
|
const elForm = unref(formRef)?.getElFormRef()
|
||||||
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