提交 42d3be70 authored 作者: 钟是志's avatar 钟是志

流程引擎 申请 审核 不显示数据的bug

上级 7d235e20
...@@ -187,6 +187,9 @@ export default class AffairPage extends React.Component { ...@@ -187,6 +187,9 @@ export default class AffairPage extends React.Component {
render() { render() {
const { workId, dataBaseId, addFields, showIframe, renderIframe } = this.state; const { workId, dataBaseId, addFields, showIframe, renderIframe } = this.state;
if(!workId){
return null;
}
const url = config.onestopPC.split('/#/'); const url = config.onestopPC.split('/#/');
let iframeUrl = `${url[0]}/#/IFrameForApply?id=${workId}&token=${getToken()}`; let iframeUrl = `${url[0]}/#/IFrameForApply?id=${workId}&token=${getToken()}`;
console.log(iframeUrl); console.log(iframeUrl);
......
...@@ -113,6 +113,9 @@ export default class Index extends React.Component { ...@@ -113,6 +113,9 @@ export default class Index extends React.Component {
render() { render() {
const { workId, dataBaseId, columns, searchCondition, addFields, allConfigSetInfo, tableInfo } = this.state; const { workId, dataBaseId, columns, searchCondition, addFields, allConfigSetInfo, tableInfo } = this.state;
if(!workId){
return null;
}
return ( return (
<AuditPage <AuditPage
workId={workId} workId={workId}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论