diff --git a/src/pages/plan/add/step1.js b/src/pages/plan/add/step1.js index 6a47fb4f..bd92cd46 100644 --- a/src/pages/plan/add/step1.js +++ b/src/pages/plan/add/step1.js @@ -13,7 +13,7 @@ export default class acclist extends React.Component{ super(props) this.state={ combinedValue:null, - model:{ + model:{ //数据模型不可少 name:"", type:"", reseller:"", @@ -31,6 +31,7 @@ export default class acclist extends React.Component{ } render(){ + //校验规则 const rules = { name: [ { type: "required", message: "请输入变更主题"}, @@ -115,6 +116,17 @@ export default class acclist extends React.Component{ /> +