mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-16 07:22:01 +08:00
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin
This commit is contained in:
@@ -95,7 +95,7 @@ const shouldRequired = computed(() => {
|
||||
}
|
||||
|
||||
if (isString(currentRules.value)) {
|
||||
return currentRules.value === 'required';
|
||||
return ['required', 'selectRequired'].includes(currentRules.value);
|
||||
}
|
||||
|
||||
let isOptional = currentRules?.value?.isOptional?.();
|
||||
|
||||
Reference in New Issue
Block a user