Commit 2f363a17 authored by 前端-黄佳鑫's avatar 前端-黄佳鑫

fix: 修改重复引入intl

parent 0375787d
......@@ -8,9 +8,6 @@ import IMG_LEVEL1 from '@/assets/imgs/level1.png';
import IMG_LEVEL2 from '@/assets/imgs/level2.png';
import IMG_LEVEL3 from '@/assets/imgs/level3.png';
import IMG_LEVEL4 from '@/assets/imgs/level4.png';
import { getIntl} from 'umi'
const intl = getIntl();
interface ActivityUserLayoutProps {
/** 标题 */
title?: string,
......@@ -30,7 +27,6 @@ const PIC_MAP = {
};
const intl = getIntl();
const ActivityUserLayout: React.FC<ActivityUserLayoutProps> = (props: any) => {
const intl = useIntl();
const { title, isFlag, dataScoure, allUsers } = props;
const [data, setData] = useState<any>({});
const [memberLevelList, setMemberLevelList] = useState<any[]>([]);
......
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