Auto Submit

dev_local_v9_test5
autosubmit 2 years ago
parent bf2e97dd84
commit 60d1a013bf

@ -12,7 +12,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1">
<meta http-equiv="Cache-Control" content="no-transform">
<title>头歌实践教学平台</title>
<link rel="stylesheet" href="/react/build/umi.ef077ebb.css">
<link rel="stylesheet" href="/react/build/umi.4f22584f.css">
<script src="/react/build/js/polyfill.min.js"></script>
</head>
<body>
@ -27,7 +27,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.e3c47abd.js"></script>
<script src="/react/build/umi.23e5b21c.js"></script>
<script src="/react/build/js/public.js"></script>
</body>
</html>

@ -685,7 +685,8 @@ var Navigation = function Navigation(_ref) {
var Info_Navigation = function Navigation(_ref) {
var _dataInfo$directors, _dataInfo$directors2;
var loading = _ref.loading,
user = _ref.user;
user = _ref.user,
dispatch = _ref.dispatch;
var params = (0,_umi_production_exports.useParams)();
var _useState = (0,_react_17_0_2_react.useState)({}),
_useState2 = slicedToArray_default()(_useState, 2),
@ -703,6 +704,16 @@ var Info_Navigation = function Navigation(_ref) {
}).then(function (res) {
setDataInfo(res === null || res === void 0 ? void 0 : res.data);
});
dispatch({
type: 'globalSetting/headerFooterToggle',
payload: true
});
return function () {
dispatch({
type: 'globalSetting/headerFooterToggle',
payload: false
});
};
}, []);
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Infomodules.wrap,
@ -834,10 +845,12 @@ var Info_Navigation = function Navigation(_ref) {
/* harmony default export */ var Info = ((0,_umi_production_exports.connect)(function (_ref2) {
var loading = _ref2.loading,
user = _ref2.user,
engineeringNavigtion = _ref2.engineeringNavigtion;
engineeringNavigtion = _ref2.engineeringNavigtion,
dispatch = _ref2.dispatch;
return objectSpread2_default()({
loading: loading,
user: user
user: user,
dispatch: dispatch
}, engineeringNavigtion);
})(Info_Navigation));

@ -794,6 +794,7 @@ var subscribe_Navigation = function Navigation(_ref) {
date: time ? dayjs_min_default()(time === null || time === void 0 ? void 0 : time.$d).format('YYYY-MM-DD') : '',
status: status,
classroom_id: roomInfo === null || roomInfo === void 0 ? void 0 : roomInfo.classroom_id,
classroom_room_id: roomInfo === null || roomInfo === void 0 ? void 0 : roomInfo.id,
keyword: keyword
}).then(function (res) {
var _res$data12, _res$data13;

File diff suppressed because one or more lines are too long

@ -13281,6 +13281,5 @@ body[data-custom='auto'] {
.layoutMainClass___t8btz {
min-width: 1400px;
min-height: 80vh;
background-color: #fff;
}
Loading…
Cancel
Save