提交 d5fc19e1 authored 作者: tb53863844's avatar tb53863844

修改bug

上级 5a0e00f3
...@@ -438,7 +438,7 @@ class FormList extends React.Component { ...@@ -438,7 +438,7 @@ class FormList extends React.Component {
} }
initColumn = () => { initColumn = () => {
const { dispatch, isFormCom, isSelect, callback, valueName } = this.props; const { dispatch, isFormCom, isSelect, callback, valueName } = this.props;
const { rights, columnRights } = this.state; const { rights, columnRights } = this.state;
if (this.props.value && this.props.value.columns) { if (this.props.value && this.props.value.columns) {
this.columns = this.props.value.columns; this.columns = this.props.value.columns;
...@@ -468,6 +468,7 @@ class FormList extends React.Component { ...@@ -468,6 +468,7 @@ class FormList extends React.Component {
type: 'formList/getHead', type: 'formList/getHead',
payload: { dataObjId: this.state.objId }, payload: { dataObjId: this.state.objId },
callback: datas => { callback: datas => {
this.state.formItem=datas
const querys = []; const querys = [];
const groups = {}; const groups = {};
const refIds = []; const refIds = [];
...@@ -508,6 +509,7 @@ class FormList extends React.Component { ...@@ -508,6 +509,7 @@ class FormList extends React.Component {
} }
return; return;
} }
if (this.props.objCode == 1 || this.props.objCode == '1') { if (this.props.objCode == 1 || this.props.objCode == '1') {
} else { } else {
dispatch({ dispatch({
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论