mirror of
https://gitee.com/orangeform/orange-admin.git
synced 2026-01-17 18:46:36 +08:00
commit:修复bug
This commit is contained in:
@@ -143,9 +143,8 @@ export const useForm = (props: ANY_OBJECT, formRef: Ref<FormInstance> | null = n
|
||||
}
|
||||
};
|
||||
const getWidgetVisible = widget => {
|
||||
const formWidgetAuth: ANY_OBJECT | null = formAuth.value
|
||||
? formAuth.value.pc[widget.variableName]
|
||||
: null;
|
||||
const formWidgetAuth: ANY_OBJECT | null =
|
||||
formAuth.value && formAuth.value.pc ? formAuth.value.pc[widget.variableName] : null;
|
||||
if (formWidgetAuth && formWidgetAuth.hide) return false;
|
||||
return true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user