fix:修复租户管理Bug

This commit is contained in:
ANHE
2025-03-12 15:15:37 +08:00
parent 17ed80c875
commit 73607be456
2 changed files with 8 additions and 3 deletions

View File

@ -51,7 +51,12 @@ export function useFormRules() {
return {
required: true,
trigger: ['change', 'blur'],
message
validator: (_rule: any, value: any) => {
if (value === null || value === undefined || value === '') {
return new Error(message);
}
return true;
}
};
}