大屏项目初始化
This commit is contained in:
@@ -235,7 +235,7 @@ const handleSave = async () => {
|
||||
if (formComponentRef.value) {
|
||||
const isValid = await formComponentRef.value.validate()
|
||||
if (!isValid) {
|
||||
ElMessage.warning('表单验证失败,请检查必填项')
|
||||
ElMessage.warning('表单验证失败,请检查必填项');
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
@@ -114,6 +114,7 @@ const handleSave = async () => {
|
||||
if (formComponentRef.value) {
|
||||
const isValid = await formComponentRef.value.validate()
|
||||
if (!isValid) {
|
||||
ElMessage.warning('表单验证失败,请检查必填项');
|
||||
return
|
||||
}
|
||||
const selectedMenuIds = formComponentRef.value.getSelectedMenuIds()
|
||||
|
||||
@@ -266,7 +266,7 @@ const handleSave = async () => {
|
||||
if (formComponentRef.value) {
|
||||
const isValid = await formComponentRef.value.validate()
|
||||
if (!isValid) {
|
||||
ElMessage.warning('表单验证失败,请检查必填项')
|
||||
ElMessage.warning('表单验证失败,请检查必填项')
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user