index.jsx 692 Bytes
Newer Older
1 2 3
import React, { useState, useEffect } from 'react';
import { Tabs } from 'antd';
import PageContainer from '@/components/BasePageContainer';
4 5
import TemplateManage from './templateManage/TemplateManage';
import ProjectManage from './projectManage/ProjectManage';
6 7 8 9

const { TabPane } = Tabs;

const HostManager = () => {
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
  const callback = () => {};

  return (
    <PageContainer>
      <Tabs onChange={callback} type="card">
        <TabPane tab="推送方案配置" key="2">
          <ProjectManage />
        </TabPane>
        <TabPane tab="推送模板配置" key="1">
          <TemplateManage />
        </TabPane>
      </Tabs>
    </PageContainer>
  );
};
export default HostManager;