import React, {Component} from 'react'; import {Layout, Menu} from 'antd'; import {FormattedMessage} from 'react-intl'; import WxConfig from "./wxConfig/WxConfig"; import WxDeploy from "../common/deploy/Deploy"; import Manage from '../common/manage/Manage'; const {Content} = Layout; class WxTrialCase extends Component { constructor() { super(); this.state = { menuLevel3: "wechat-config", userID: 'ioobot' } } switchMenu = (menuName, e) => { this.setState({ [menuName]: e.key, }); }; render() { let configID = this.props.location.state ? this.props.location.state.configID : "ecommerce_wxConfigID"; let appName = this.props.location.state ? this.props.location.state.appName : "ecommerce"; let projectID = this.props.location.state ? this.props.location.state.projectID : ""; return (