feat: 1.升级 Ant Design Ui 至 v6 2. 修复企业充值金额输入限制
This commit is contained in:
@@ -32,3 +32,16 @@ export function overlayMaskClosable(
|
||||
pathname.startsWith('/user-center/');
|
||||
return scoped ? true : configured;
|
||||
}
|
||||
|
||||
export function overlayMask(mask, maskClosable, pathname) {
|
||||
const config =
|
||||
typeof mask === 'object' && mask !== null
|
||||
? mask
|
||||
: mask === undefined
|
||||
? {}
|
||||
: { enabled: mask };
|
||||
return {
|
||||
...config,
|
||||
closable: overlayMaskClosable(config.closable ?? maskClosable, pathname),
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user