@@ -17,7 +17,6 @@ const AnimateContent: FC<PropsWithChildren<AnimateContentProps>> = ({
}) => {
const headerHeight = document.querySelector('.ant-page-header-heading')?.clientHeight + 8 || 0
const breadcrumbHeight = disableBreadcrumb ? 0 : 50
- console.log(headerHeight + breadcrumbHeight)
return (
<div className={styles.pageContainer}>
@@ -173,6 +173,10 @@ const StaffDrawer: React.FC<StaffModalProps> = ({
form.setSchemaByPath('password', {
hidden: true
})
+ } else {
+ form.setSchemaByPath('password', {
+ required: false
+ })
}