Commit 4347c92a authored by XieZhiXiong's avatar XieZhiXiong

chore: 修改列宽度

parent c1c73f69
...@@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react'; ...@@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react';
import { import {
Card, Card,
Button, Button,
message, Tooltip,
} from 'antd'; } from 'antd';
import { PublicApi } from '@/services/api'; import { PublicApi } from '@/services/api';
import { VIP_RULE_TRANSACTION, VIP_RULE_LOGIN, VIP_RULE_COMMENT } from '@/constants/member'; import { VIP_RULE_TRANSACTION, VIP_RULE_LOGIN, VIP_RULE_COMMENT } from '@/constants/member';
...@@ -45,29 +45,32 @@ const MemberUpgradeRule: React.FC<[]> = () => { ...@@ -45,29 +45,32 @@ const MemberUpgradeRule: React.FC<[]> = () => {
title: 'ID', title: 'ID',
dataIndex: 'id', dataIndex: 'id',
align: 'center', align: 'center',
width: '15%',
}, },
{ {
title: '升级规则', title: '升级规则',
dataIndex: 'ruleName', dataIndex: 'ruleName',
align: 'center', align: 'center',
width: '15%',
}, },
{ {
title: '升级规则说明', title: '升级规则说明',
dataIndex: 'remark', dataIndex: 'remark',
align: 'center', align: 'center',
ellipsis: true, ellipsis: true,
render: text => <span title={text}>{text}</span>, render: text => <Tooltip title={text}>{text}</Tooltip>,
}, },
{ {
title: '适用会员等级类型', title: '适用会员等级类型',
dataIndex: 'levelTypeName', dataIndex: 'levelTypeName',
align: 'center', align: 'center',
width: '15%',
}, },
{ {
title: '可获取的分值', title: '可获取的分值',
dataIndex: 'score', dataIndex: 'score',
align: 'center', align: 'center',
width: '30%', width: '15%',
editable: true, editable: true,
}, },
]; ];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment