diff --git a/src/AppConfig.js b/src/AppConfig.js index 66814afe..970cd620 100644 --- a/src/AppConfig.js +++ b/src/AppConfig.js @@ -25,7 +25,7 @@ if (isDev) { } debugType = window.location.search.indexOf('debug=t') !== -1 ? 'teacher' : window.location.search.indexOf('debug=s') !== -1 ? 'student' : - window.location.search.indexOf('debug=a') !== -1 ? 'a' : parsed.debug || 'a' + window.location.search.indexOf('debug=a') !== -1 ? 'a' : parsed.debug || 'admin' } window._debugType = debugType; export function initAxiosInterceptors(props) { diff --git a/src/index.css b/src/index.css index 4c75d804..8e83c0a7 100644 --- a/src/index.css +++ b/src/index.css @@ -175,4 +175,9 @@ i.color-orange05:hover { .color-light-green { color: #29bd8b !important; +} + +.ant-message-notice .ant-message-notice-content{ + font-size: 16px; + padding: 15px 50px; } \ No newline at end of file diff --git a/src/military/qz2022.js b/src/military/qz2022.js index ff8a4fcf..c92f59d1 100644 --- a/src/military/qz2022.js +++ b/src/military/qz2022.js @@ -9,6 +9,7 @@ import Loading from "../Loading"; import { ImageLayerOfCommentHOC } from "../modules/page/layers/ImageLayerOfCommentHOC"; import './qz2022/index.scss'; import { Menu, Popover, Spin } from "antd"; +import InfoModal from './qz2022/components/infoModal'; import banner from './qz2022/image/banner.jpg'; import banner_local from './qz2022/image/banner_local.jpg'; import logo from './qz2022/image/logo.png'; @@ -66,7 +67,7 @@ const Management = Loadable({ }) const Qz2022 = (props) => { - const { history, current_user,match } = props; + const { history, current_user, match } = props; const { location } = history; const { pathname } = location; const [active, setActive] = useState(); @@ -77,7 +78,7 @@ const Qz2022 = (props) => { const [fixedTop, setFixedTop] = useState(''); - const {competitionId}=match.params; + const { competitionId } = match.params; const menu = (