diff --git a/p__Classrooms__Lists__Attachment__index.async.js b/p__Classrooms__Lists__Attachment__index.async.js index 204c33e452..2077e9ca16 100644 --- a/p__Classrooms__Lists__Attachment__index.async.js +++ b/p__Classrooms__Lists__Attachment__index.async.js @@ -2048,7 +2048,7 @@ var Config_SetPublic = function SetPublic(_ref) { formValue["is_public"] = [res.is_public]; formValue["description"] = res.description; formValue["delay_publish"] = res.delay_publish; - formValue["publish_time"] = res.publish_time; + formValue["publish_time"] = res === null || res === void 0 ? void 0 : res.publish_time; form.setFieldsValue(formValue); setHistories([objectSpread2_default()({}, res)].concat(toConsumableArray_default()(res === null || res === void 0 ? void 0 : res.attachment_histories))); case 10: @@ -2181,7 +2181,7 @@ var Config_SetPublic = function SetPublic(_ref) { width: 110, render: function render(text) { return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: dayjs_min_default()(text.publish_time).format("YYYY-MM-DD") + children: dayjs_min_default()(text === null || text === void 0 ? void 0 : text.publish_time).format("YYYY-MM-DD") }); } }, { diff --git a/p__Classrooms__Lists__Board__Edit__index.async.js b/p__Classrooms__Lists__Board__Edit__index.async.js index f8066012db..32386f5a24 100644 --- a/p__Classrooms__Lists__Board__Edit__index.async.js +++ b/p__Classrooms__Lists__Board__Edit__index.async.js @@ -251,10 +251,10 @@ var ShixunsListPage = function ShixunsListPage(_ref) { size: 'middle', ghost: true, type: "primary", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, { - to: "/classrooms/".concat(params.coursesId, "/board/").concat(params.categoryId || ''), - children: "\u53D6\u6D88" - }) + onClick: function onClick() { + _umi_production_exports.history.push("/classrooms/".concat(params.coursesId, "/board/").concat(params.categoryId || '')); + }, + children: "\u53D6\u6D88" })] }) })] diff --git a/umi.js b/umi.js index 2d7be14579..2f7b344f8c 100644 --- a/umi.js +++ b/umi.js @@ -51074,7 +51074,7 @@ var exerciseTips = function exerciseTips(v, appraise_label) { children: "\u8003\u8BD5\u4E2D" }); } - if (v === 3) { + if (v === 3 || v === 4) { return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)("span", { style: { backgroundColor: '#FC2D6B'