import { PageContainer, WxMaCodeUploadConfig, WxMaMessagePushConfig, WxMaSubscribeMessageConfig, } from '@/components'; import { WxMaConfig } from '@/components/Setting'; import { ProCard } from '@ant-design/pro-components'; import { useState } from 'react'; export default function Page() { const [activeKey, setActiveKey] = useState('1'); return ( { setActiveKey(activeKey); }, tabList: [ { key: '1', tab: '小程序配置', }, { key: '2', tab: '消息推送设置', }, { key: '3', tab: '订阅消息配置', }, { key: '4', tab: '小程序上传', }, ], }} > {activeKey === '1' && ( )} {activeKey === '2' && ( )} {activeKey === '3' && ( )} {activeKey === '4' && ( )} ); }