|
@@ -1,6 +1,7 @@
|
|
|
import { ProColumns } from '@ant-design/pro-components';
|
|
|
import { Tag, Button, Popconfirm, Space, Switch, Tooltip } from 'antd';
|
|
|
import Users from './user'
|
|
|
+import { InfoCircleOutlined } from '@ant-design/icons';
|
|
|
export const columns = (
|
|
|
edit: (b: boolean, v: any) => void,
|
|
|
del: (id: any) => void,
|
|
@@ -77,7 +78,7 @@ export const columns = (
|
|
|
dataIndex: 'iosPayment',
|
|
|
hideInSearch: true,
|
|
|
render: (_, d) => {
|
|
|
- return d.iosPayment ? <Tag color="processing" bordered={false}>{d.iosPayment}</Tag> : <Tag color="error" bordered={false}>IOS无法支付</Tag>
|
|
|
+ return d.iosPayment ? <Tag color={d.iosPayment === d.appVersion ? "processing" : "error"} bordered={false}> {d.iosPayment} </Tag> : <Tag color="error" bordered={false}>IOS无法支付</Tag>
|
|
|
}
|
|
|
},
|
|
|
{
|