feat: 1.升级 Ant Design Ui 至 v6 2. 修复企业充值金额输入限制

This commit is contained in:
zhanjunhao
2026-11-10 18:49:38 +08:00
parent 425077f94b
commit fc4db4e75d
106 changed files with 1417 additions and 1010 deletions
@@ -164,7 +164,7 @@ const NewUserGiftModal = ({ visible, onClose, quota }) => {
</div>
<style jsx='true'>{`
.new-user-gift-modal .ant-modal-content {
.new-user-gift-modal .ant-modal-container {
border-radius: 20px;
overflow: hidden;
padding: 0;
@@ -108,7 +108,6 @@ export function ColumnSettingsModal({
'--cs-theme-border': token.colorBorderSecondary,
}}
onCancel={onCancel}
maskClosable
keyboard
footer={
<div className='table-column-settings-footer'>
@@ -123,6 +122,7 @@ export function ColumnSettingsModal({
</Button>
</div>
}
mask={{ closable: true }}
>
<div className='table-column-settings-all'>
<Checkbox
@@ -155,7 +155,7 @@ export function ColumnSettingsModal({
className='table-column-settings-error'
type='error'
showIcon
message={t('请至少保留一列')}
title={t('请至少保留一列')}
/>
)}
</Modal>
@@ -21,7 +21,7 @@ html.dark .table-column-settings-dialog {
max-width: calc(100vw - 32px);
}
.table-column-settings-dialog .ant-modal-content {
.table-column-settings-dialog .ant-modal-container {
padding: 20px 24px;
border-radius: 12px;
}
+1 -1
View File
@@ -187,7 +187,7 @@ const CardPro = ({
title={headerContent}
footer={footerContent}
shadows={shadows}
bordered={bordered}
variant={bordered === false ? 'borderless' : 'outlined'}
style={style}
{...props}
>
+1 -2
View File
@@ -656,7 +656,6 @@ const JSONEditor = ({
<TabPane tab={t('可视化')} itemKey='visual' />
<TabPane tab={t('手动编辑')} itemKey='manual' />
</Tabs>
{template && templateLabel && (
<Button type='tertiary' onClick={fillTemplate} size='small'>
{templateLabel}
@@ -667,8 +666,8 @@ const JSONEditor = ({
headerStyle={{
padding: 'var(--json-editor-header-padding, 12px 16px)',
}}
bodyStyle={{ padding: '16px' }}
className='!rounded-2xl'
styles={{ body: { padding: '16px' } }}
>
{/* JSON错误提示 */}
{hasJsonError && (