Commit 135ca0d7 authored by zhangwenshuai's avatar zhangwenshuai

update icon

parent 492e4bb1
import { createFromIconfontCN } from '@ant-design/icons';
const IconFont = createFromIconfontCN({
scriptUrl: 'https://influencer-attachment.mttop.cn/influencer/v2/website/20200524/iconFont.js',
scriptUrl: 'https://influencer-attachment.mttop.cn/influencer/v2/website/20200629/iconFont.js',
});
export default IconFont;
import { createFromIconfontCN } from '@ant-design/icons';
const IconFont = createFromIconfontCN({
scriptUrl: 'https://influencer-attachment.mttop.cn//influencer/v2/website/20200613/iconFont.js',
scriptUrl: 'https://influencer-attachment.mttop.cn/influencer/v2/website/20200629/iconFont.js',
});
export default IconFont;
......@@ -160,10 +160,15 @@ const Cell = (props: CellProps) => {
return (current - 1) * pageSize + rowIndex + 1;
};
const getCheckedIndex = () => {
if (!rowSelection) {
return -1;
}
const { selectedRows } = rowSelection;
const index = selectedRows.findIndex((item: any) => {
return item.id === record.id;
});
const index =
selectedRows &&
selectedRows.findIndex((item: any) => {
return item.id === record.id;
});
return index;
};
const getCheckbox = () => {
......
......@@ -2,7 +2,7 @@ import React, { useState, useRef, useEffect } from 'react';
import { Popover } from 'antd';
import classNames from 'classnames';
import s from './index.less';
import extendIcon from '../../../../assets/extend.png';
import IconFont from '@/submodule/components/IconFont';
export const ApolloTextLinkDetail = (props: any) => {
const { value, origin, formatter } = props;
......@@ -86,7 +86,7 @@ export const ApolloTextLinkDetail = (props: any) => {
}
>
<div className={s.moreBtn}>
<img alt="" className={s.extend} src={extendIcon} />
<IconFont type="iconzhankai1" />
</div>
</Popover>
)}
......
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