src/menu/menuform/index.jsx
@@ -1,5 +1,6 @@ import React, {Component} from 'react' import PropTypes from 'prop-types' import { fromJS } from 'immutable' import { Form, Row, Col, Input, Select, notification } from 'antd' import Api from '@/api' @@ -14,6 +15,7 @@ MenuName: PropTypes.string, MenuNo: PropTypes.string, parentId: PropTypes.string, initMenuList: PropTypes.func, updateConfig: PropTypes.func } @@ -56,6 +58,8 @@ } }) this.props.initMenuList(fromJS(menulist).toJS()) this.setState({ fstMenuId: result.FstIDSeleted, menulist,