对接通知中心与政策法规,包括多语言维护

This commit is contained in:
linxd
2025-06-30 19:40:25 +08:00
parent 73fc2bfa7b
commit 60473ed8ae
18 changed files with 632 additions and 514 deletions

View File

@ -1,9 +1,10 @@
import React, { useState } from 'react';
import React, { useState, useEffect } from 'react';
import { Card, Row, Col, Tabs, Table } from 'antd';
import { useIntl, Link } from 'umi';
import './index.less';
import IconFont from '@/components/IconFont/IconFont';
import LinkComponent from './Link';
import { getCoscoPortalsLinksClassification } from '@/servers/api';
const IndexPage: React.FC = () => {
const intl = useIntl();
const [noticeLoading, setNoticeLoading] = useState(false);
@ -152,6 +153,12 @@ const IndexPage: React.FC = () => {
},
];
useEffect(() => {
getCoscoPortalsLinksClassification().then((res) => {
console.log(res);
});
}, []);
return (
<div>
{/* 通知列表 */}