index.jsx 1.04 KB
Newer Older
mayongxin's avatar
mayongxin committed
1 2 3 4 5
import React, { useState, useEffect } from 'react';
import { Tabs } from 'antd';
import PageContainer from '@/components/BasePageContainer';
import BaseConfig from './baseConfig/BaseConfig'
import IotConfig from './IotConfig/IotConfig'
6
import MessageConfig from './messageConfig/messageConfig'
7
import ProxyConfig from './proxyConfig/ProxyConfig'
mayongxin's avatar
mayongxin committed
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27


const { TabPane } = Tabs;

const HostManager = () => {

    const callback = () => {

    }

    return (
        <PageContainer>
            <Tabs onChange={callback} type="card">
                <TabPane tab="基础配置" key="1">
                    <BaseConfig/>
                </TabPane>
                <TabPane tab="物联配置" key="2">
                    <IotConfig/>
                </TabPane>
                <TabPane tab="消息配置" key="3">
28
                    <MessageConfig/>
mayongxin's avatar
mayongxin committed
29 30
                </TabPane>
                <TabPane tab="代理配置" key="4">
31
                    <ProxyConfig/>
mayongxin's avatar
mayongxin committed
32 33 34 35 36 37 38
                </TabPane>
            </Tabs>
        </PageContainer>
    )

}
export default HostManager;