Auto Submit

dev_local_v9_test5
autosubmit 6 months ago
parent 9608c6972e
commit 443e0b0f38

@ -573,7 +573,6 @@ var AddOrEdit = function AddOrEdit(_ref) {
case 2:
setnews_event_tags([]);
if (currentItem !== null && currentItem !== void 0 && currentItem.id) {
console.log(currentItem);
form.setFieldsValue({
name: currentItem === null || currentItem === void 0 ? void 0 : currentItem.name,
resource_knowledge_point_ids: currentItem === null || currentItem === void 0 ? void 0 : currentItem.resource_knowledge_point_ids,
@ -586,8 +585,10 @@ var AddOrEdit = function AddOrEdit(_ref) {
attachment_id: (currentItem === null || currentItem === void 0 ? void 0 : currentItem.attachment) && (0,MultiUpload/* coverToFileList */.z)([currentItem === null || currentItem === void 0 ? void 0 : currentItem.attachment]) || ''
});
setnews_event_tags(currentItem === null || currentItem === void 0 ? void 0 : currentItem.tags);
setIsLink(currentItem === null || currentItem === void 0 ? void 0 : currentItem.is_link);
} else {
form.setFieldValue('is_link', false);
setIsLink(false);
}
case 4:
case "end":

@ -26,7 +26,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.932fb35c.js"></script>
<script src="/react/build/umi.253e0447.js"></script>
<script src="/react/build/js/public.js"></script>
</body>
</html>

@ -672,7 +672,7 @@ var MaterialsAdmin = function MaterialsAdmin(_ref) {
className: MaterialsAdminmodules.ziyuan_item,
onClick: function onClick() {
if (item !== null && item !== void 0 && item.is_link) {
(0,util/* openNewWindows */.Uq)(item === null || item === void 0 ? void 0 : item.link);
(0,util/* openNewWindow */.xg)(item === null || item === void 0 ? void 0 : item.link);
} else {
_umi_production_exports.history.push("/caselibrary/detail/".concat(item === null || item === void 0 ? void 0 : item.id, "?activeTab=materials_admin"));
}
@ -1149,7 +1149,7 @@ var MaterialsCollect = function MaterialsCollect(_ref) {
},
onClick: function onClick() {
if (item !== null && item !== void 0 && item.is_link) {
(0,util/* openNewWindows */.Uq)(item === null || item === void 0 ? void 0 : item.link);
(0,util/* openNewWindow */.xg)(item === null || item === void 0 ? void 0 : item.link);
} else {
_umi_production_exports.history.push("/caselibrary/detail/".concat(item === null || item === void 0 ? void 0 : item.id, "?activeTab=materials_collect"));
}

@ -575,7 +575,7 @@ var Page = function Page(_ref) {
className: Indexmodules.ziyuan_item,
onClick: function onClick() {
if (item !== null && item !== void 0 && item.is_link) {
(0,util/* openNewWindows */.Uq)(item === null || item === void 0 ? void 0 : item.link);
(0,util/* openNewWindow */.xg)(item === null || item === void 0 ? void 0 : item.link);
} else {
_umi_production_exports.history.push("/caselibrary/detail/".concat(item === null || item === void 0 ? void 0 : item.id));
}

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save