提交 4b638163 authored 作者: 徐立's avatar 徐立
...@@ -151,6 +151,10 @@ export default class tableCom extends Component { ...@@ -151,6 +151,10 @@ export default class tableCom extends Component {
this.setState({isShowModal:true,modalInit:data,modalTitle:title,modalCode:fk}) this.setState({isShowModal:true,modalInit:data,modalTitle:title,modalCode:fk})
} }
closeModal=(callback)=>{
this.setState({isShowModal:false},()=>{if(callback)callback()})
}
equal = (obj1, obj2, json, sqlContent, depth) => { equal = (obj1, obj2, json, sqlContent, depth) => {
...@@ -1151,7 +1155,7 @@ export default class tableCom extends Component { ...@@ -1151,7 +1155,7 @@ export default class tableCom extends Component {
message: message, router: router, message: message, router: router,
setValues: this.setValues.bind(this, base52, json), setValues: this.setValues.bind(this, base52, json),
req: this.reqUtil.bind(this, base52, json, callback), req: this.reqUtil.bind(this, base52, json, callback),
md5: md5, showModal:this.showModal, md5: md5, showModal:this.showModal,closeModal:this.closeModal,
render:this.getRender,base64:getBase64, render:this.getRender,base64:getBase64,
}, },
functionObj, functionObj,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论