diff --git a/p__Competitions__Edit__index.async.js b/p__Competitions__Edit__index.async.js index b452d2ad30..877e2b8dd1 100644 --- a/p__Competitions__Edit__index.async.js +++ b/p__Competitions__Edit__index.async.js @@ -8704,11 +8704,11 @@ var informationPage = function informationPage(_ref) { style: { display: 'flex' }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { style: { width: '32%' }, - children: "https://www.educoder.net/competitions/" + children: [window.location.origin, "/competitions/"] }), /*#__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('https://www.educoder.net/competitions/' + (res === null || res === void 0 ? void 0 : res.identifier) + '/edit'); + seturl_show("".concat(window.location.origin, "/competitions/") + (res === null || res === void 0 ? void 0 : res.identifier) + '/edit'); 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)) { @@ -12806,7 +12806,7 @@ var documentPage = function documentPage(_ref) { //如果要保留文本格式,比如保留换行符,或者多行文本,可以使用 textarea 标签,再配和模板字符串 ` ` //const input = document.createElement('textarea') // 将想要复制的值 - input.value = 'https://www.educoder.net/competitions/' + form.getFieldValue('identifier'); + input.value = "".concat(window.location.origin, "/competitions/") + form.getFieldValue('identifier'); // 页面底部追加输入框 document.body.appendChild(input); // 选中输入框 @@ -13001,7 +13001,7 @@ var documentPage = function documentPage(_ref) { colon: false, name: "identifier", children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - prefix: "https://www.educoder.net/competitions/", + prefix: "".concat(window.location.origin, "/competitions/"), disabled: true, className: documentmodules.form_item_item })