import {WeaCheckbox,WeaInput,WeaDatePicker,WeaSelect} from 'ecCom'; import {Button,Row,Col} from 'antd'; import {i18n} from '../public/i18n'; import {WeaLocaleProvider} from 'ecCom'; const getLabel = WeaLocaleProvider.getLabel; class Main extends React.Component { constructor(props) { super(props); } onBtnClick() { this.props.onBtnClick && this.props.onBtnClick(this.props.value); } render() { const {props} = this; return (
{i18n.label.enableDate()}:{getLabel('386546',"天后")} {i18n.label.enableMode()}:
) } } export default Main;