提交 d4ab3de5 authored 作者: 徐立's avatar 徐立

合并

上级 1477adc0
...@@ -278,6 +278,7 @@ class FormList extends React.Component { ...@@ -278,6 +278,7 @@ class FormList extends React.Component {
if(objCode==1||objCode=="1"){ if(objCode==1||objCode=="1"){
this.initColumn(); this.initColumn();
}else{ }else{
console.log('!!!!!!')
dispatch({ dispatch({
type: 'DataObj/findByCode', type: 'DataObj/findByCode',
payload: { objCode:this.props.objCode }, payload: { objCode:this.props.objCode },
...@@ -857,6 +858,8 @@ class FormList extends React.Component { ...@@ -857,6 +858,8 @@ class FormList extends React.Component {
render() { render() {
const { modalVisible, selectedRows, querys,tableWidth,rights ,data,isReady} = this.state; const { modalVisible, selectedRows, querys,tableWidth,rights ,data,isReady} = this.state;
console.log(this.state,this.props,isReady,this.columns)
if(!isReady){ if(!isReady){
return <div style={{width:20,margin:"auto"}}><Spin/></div> return <div style={{width:20,margin:"auto"}}><Spin/></div>
} }
...@@ -881,8 +884,7 @@ class FormList extends React.Component { ...@@ -881,8 +884,7 @@ class FormList extends React.Component {
} }
let showDiv = document.querySelector('#mobelDiv')? let showDiv = document.querySelector('#mobelDiv')?
document.querySelector('#mobelDiv').clientWidth document.querySelector('#mobelDiv').clientWidth
:'100%' :1100
const parentMethods = { const parentMethods = {
handleAdd: this.handleAdd, handleAdd: this.handleAdd,
handleModalVisible: this.handleModalVisible, handleModalVisible: this.handleModalVisible,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论