Auto Submit

dev_local_v9_junke
autosubmit 2 years ago
parent 57ca3a64ca
commit 84b0340f7b

@ -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")
});
}
}, {

@ -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"
})]
})
})]

@ -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'

Loading…
Cancel
Save