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 (