fix:修复租户管理Bug

This commit is contained in:
ANHE
2025-03-12 15:11:34 +08:00
parent 69a6d7a358
commit 17ed80c875
3 changed files with 4 additions and 8 deletions

View File

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