在iframe没有返回按钮
parent
553a2a75a7
commit
0a7dd356f1
|
|
@ -1,5 +1,6 @@
|
|||
import React, { useCallback, useEffect, useMemo, useState } from 'react';
|
||||
import DriverBack from '~/pages/Container/Driver/components/DriverBack';
|
||||
import { tools } from "@cqsjjb/jjb-common-lib";
|
||||
import EnterpriseTypeChart from './components/EnterpriseTypeChart';
|
||||
import ProjectTypeChart from './components/ProjectTypeChart';
|
||||
import ProjectCompletionTable from './components/ProjectCompletionTable';
|
||||
|
|
@ -137,7 +138,7 @@ export default function InstitutionDashboard() {
|
|||
return (
|
||||
<div className="institution-dashboard">
|
||||
<div className="institution-dashboard__toolbar">
|
||||
<DriverBack />
|
||||
{!tools.inIframe() && <DriverBack />}
|
||||
</div>
|
||||
|
||||
<div className="dashboard-classic">
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
import React, { useEffect, useMemo, useRef, useState } from 'react';
|
||||
import * as echarts from 'echarts';
|
||||
import { tools } from "@cqsjjb/jjb-common-lib";
|
||||
import {
|
||||
AuditOutlined,
|
||||
BellOutlined,
|
||||
|
|
@ -143,7 +144,7 @@ function EChart({ option, className, events, onInstance }) {
|
|||
function ScreenHeader({ data }) {
|
||||
return (
|
||||
<header className="cockpit-header">
|
||||
<DriverBack theme="dark" className="cockpit-header__back" />
|
||||
{!tools.inIframe() && <DriverBack theme="dark" className="cockpit-header__back" />}
|
||||
<div className="cockpit-header__deco cockpit-header__deco--left" />
|
||||
<h1>{data.title}</h1>
|
||||
<div className="cockpit-header__time"><ClockCircleOutlined />{data.currentTime}</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue