import React from 'react'; import { Tabs, message } from 'antd'; import { MobileOutlined, ConsoleSqlOutlined, CodeOutlined, IdcardOutlined, } from '@ant-design/icons'; import Zan from 'editorComponents/Zan'; import styles from './index.less'; const { TabPane } = Tabs; const Home = (props) => { const handleGo = (type: string) => { if (type === 'H5') { props.history.push('/editorWap/2960'); } else if (type === 'PC') { props.history.push('/editorPc/2960'); } else if (type === 'miniApp') { props.history.push('/editorWap/2960?mode=miniApp'); } else { props.history.push('/ide'); } }; return (
{/*
我的H5 } key="1" > 正在开发... 我的大屏 } key="2" > 正在开发... 我的可视化 } key="3" > 正在开发...
*/}
丽维家编辑器
handleGo('PC')}>
制作pc页面
handleGo('H5')}>
制作wap页面
handleGo('miniApp')}>
制作小程序页面
{/*
handleGo('online')}>
在线编程
handleGo('PC')}>
制作可视化大屏
*/}
); }; export default Home;