Auto Submit

dev_local_v9_junke
autosubmit 2 years ago
parent be8619a4ec
commit 0c06cbff4f

@ -208,7 +208,7 @@ var PublishShixun = function PublishShixun(_ref) {
id = (res === null || res === void 0 ? void 0 : res.category_id) || 0;
urlList = (_location$pathname = location.pathname) === null || _location$pathname === void 0 ? void 0 : _location$pathname.split('/');
urlList[4] = id;
urlList[3] = type || urlList[3];
urlList[3] = (type === 'hack' ? 'program_homework' : type) || urlList[3];
url = urlList === null || urlList === void 0 ? void 0 : urlList.join('/');
_umi_production_exports.history.push(url);
if (actionTabs.cb) {

@ -8706,9 +8706,9 @@ var informationPage = function informationPage(_ref) {
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
width: '32%'
width: '34%'
},
children: [window.location.origin, "/competitions/"]
children: [window.location.origin, "/competitions/detail/"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "topLeft",
color: "#fb3226",
@ -12761,7 +12761,7 @@ var documentPage = function documentPage(_ref) {
setquestion_finish(res === null || res === void 0 ? void 0 : res.question_finish);
setname_show(res === null || res === void 0 || (_res$competition = res.competition) === null || _res$competition === void 0 ? void 0 : _res$competition.name);
settime_show(dayjs_min_default()(res === null || res === void 0 || (_res$competition2 = res.competition) === null || _res$competition2 === void 0 ? void 0 : _res$competition2.start_time).format('YYYY-MM-DD HH:mm') + ' ~ ' + dayjs_min_default()(res === null || res === void 0 || (_res$competition3 = res.competition) === null || _res$competition3 === void 0 ? void 0 : _res$competition3.end_time).format('YYYY-MM-DD HH:mm'));
seturl_show("".concat(window.location.origin, "/competitions/") + (res === null || res === void 0 ? void 0 : res.identifier) + '/edit');
seturl_show("".concat(window.location.origin, "/competitions/detail/") + (res === null || res === void 0 ? void 0 : res.identifier));
var obj = '';
for (var i in res === null || res === void 0 ? void 0 : res.data) {
if (Number(i) == Number((res === null || res === void 0 ? void 0 : res.data.length) - 1)) {

Loading…
Cancel
Save