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