From c593048fd2b71df0bed46c97110e19e0b9bb3cd4 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 07 十月 2022 15:50:53 +0800 Subject: [PATCH] 2022-10-07 --- src/tabviews/custom/index.jsx | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/tabviews/custom/index.jsx b/src/tabviews/custom/index.jsx index 6f41f64..5cf8beb 100644 --- a/src/tabviews/custom/index.jsx +++ b/src/tabviews/custom/index.jsx @@ -42,6 +42,7 @@ const CustomChart = asyncComponent(() => import('./components/chart/custom-chart')) const TimeLine = asyncComponent(() => import('./components/timeline/normal-timeline')) const Voucher = asyncComponent(() => import('./components/module/voucher')) +const DebugTable = asyncComponent(() => import('@/tabviews/debugtable')) class CustomPage extends Component { static propTpyes = { @@ -302,9 +303,9 @@ inters.push(item) }) - if (inters.length > 0) { - this.loadOutResource(inters) - } + // if (inters.length > 0) { + // this.loadOutResource(inters) + // } } loadOutResource = (inters) => { @@ -1366,6 +1367,7 @@ <div className={'custom-page-wrap ' + (loadingview || loading ? 'loading' : '')} id={this.state.ContainerId} style={config ? config.style : null}> {(loadingview || loading) ? <Spin className="view-spin" size="large" /> : null} <Row className="component-wrap">{this.getComponents()}</Row> + {config && window.GLOB.breakpoint ? <DebugTable /> : null} {!window.GLOB.mkHS && window.GLOB.systemType !== 'production' ? <PagemsgComponent menu={{MenuName: this.props.MenuName, MenuNo: this.props.MenuNo}} config={config} dict={this.state.dict} /> : null} {!window.GLOB.mkHS && shortcuts ? <SettingComponent config={config} dict={this.state.dict} shortcuts={shortcuts} permAction={this.props.permAction}/> : null} {viewlost ? <NotFount msg={this.state.lostmsg} /> : null} -- Gitblit v1.8.0