解决素材云批量上传弹框组件样式问题

This commit is contained in:
Lrd
2026-06-26 10:52:02 +08:00
parent c794b33a0e
commit c06c4b1dde
+3 -1
View File
@@ -1500,7 +1500,7 @@ const GeneratedRecord: React.FC = () => {
title: '授权账户角色', title: '授权账户角色',
dataIndex: 'accountRole', dataIndex: 'accountRole',
key: 'accountRole', key: 'accountRole',
width: 200, width: 160,
render: (role: string) => { render: (role: string) => {
const roleMap: Record<string, string> = { const roleMap: Record<string, string> = {
ADVERTISER: '客户', ADVERTISER: '客户',
@@ -1548,10 +1548,12 @@ const GeneratedRecord: React.FC = () => {
}} }}
rowKey="id" rowKey="id"
size="small" size="small"
scroll={{ x: 'max-content' }}
onRow={(record) => ({ onRow={(record) => ({
onClick: () => { onClick: () => {
const id = String(record.id); const id = String(record.id);
setSelectedOauthItems({ value: id, label: String(record.accountUserid) }); setSelectedOauthItems({ value: id, label: String(record.accountUserid) });
setOauthSelectOpen(false);
}, },
style: { style: {
cursor: 'pointer', cursor: 'pointer',