fix: 修复创建校验问题

This commit is contained in:
wangdan-fit2cloud 2024-07-29 16:26:23 +08:00
parent d70aca6b8a
commit 3909e2f094

View File

@ -141,7 +141,7 @@ function createUser() {
UserDialogRef.value.open()
} else {
common.asyncGetValid(ValidType.User, ValidCount.User, loading).then((res: any) => {
if (res?.data?.data) {
if (res?.data) {
title.value = '创建用户'
UserDialogRef.value.open()
} else {