mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
fix:修复租户管理Bug
This commit is contained in:
@ -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
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user