diff --git a/src/assets/images/notice.fispool b/src/assets/images/notice.fispool new file mode 100644 index 000000000..dc0cd97ab Binary files /dev/null and b/src/assets/images/notice.fispool differ diff --git a/src/assets/images/notice.gif b/src/assets/images/notice.gif index 791588cb6..dc0cd97ab 100755 Binary files a/src/assets/images/notice.gif and b/src/assets/images/notice.gif differ diff --git a/src/assets/images/question.fispool b/src/assets/images/question.fispool new file mode 100644 index 000000000..50dfee881 Binary files /dev/null and b/src/assets/images/question.fispool differ diff --git a/src/assets/images/question.gif b/src/assets/images/question.gif index c0318d6a4..50dfee881 100644 Binary files a/src/assets/images/question.gif and b/src/assets/images/question.gif differ diff --git a/src/components/RenderHtml/index.tsx b/src/components/RenderHtml/index.tsx index e60a380ff..2e2a1a034 100755 --- a/src/components/RenderHtml/index.tsx +++ b/src/components/RenderHtml/index.tsx @@ -26,6 +26,7 @@ interface IProps { style?: React.CSSProperties; showLines?: number; showTextOnly?: boolean; + linkReplace?:boolean } export default ({ @@ -34,14 +35,17 @@ export default ({ showTextOnly, showLines, style = {}, + linkReplace = true }: IProps) => { let str = String(value); const [data, setData] = useState("") const html = useMemo(() => { try { - str = str.replaceAll("/api/attachments", "https://data.educoder.net/api/attachments") + if(linkReplace){ + str = str.replaceAll("/api/attachments", "https://data.educoder.net/api/attachments") .replace(/\r\n/g,"\n") + } str = str.replace(new RegExp("(? = ({ {identity && {modelType == 1 && } } className={styles.downBut} style={{ marginLeft: "20px" }} onClick={handleAllDownload}>下载所有文件 diff --git a/src/pages/Question/OjProblem/notice.fispool b/src/pages/Question/OjProblem/notice.fispool new file mode 100644 index 000000000..dc0cd97ab Binary files /dev/null and b/src/pages/Question/OjProblem/notice.fispool differ diff --git a/src/pages/Question/OjProblem/notice.gif b/src/pages/Question/OjProblem/notice.gif index 791588cb6..dc0cd97ab 100755 Binary files a/src/pages/Question/OjProblem/notice.gif and b/src/pages/Question/OjProblem/notice.gif differ diff --git a/src/pages/metting/information/detail.jsx b/src/pages/metting/information/detail.jsx index b2637bf3f..ce4d3a273 100644 --- a/src/pages/metting/information/detail.jsx +++ b/src/pages/metting/information/detail.jsx @@ -7,7 +7,8 @@ import views from '../img/views.png' import { useEffect } from 'react'; import { getDocDetail } from '../api' import { useState } from 'react'; -import { defaultPage } from '../info' +import { defaultPage } from '../info'; +import moment from 'moment'; function Detail() { @@ -47,7 +48,7 @@ function Detail() {

{ detail.name }

@@ -56,7 +57,7 @@ function Detail() { } { content ? - + : 暂无详情~ } diff --git a/src/pages/tasks/code-repository/action-bar/notice.fispool b/src/pages/tasks/code-repository/action-bar/notice.fispool new file mode 100644 index 000000000..dc0cd97ab Binary files /dev/null and b/src/pages/tasks/code-repository/action-bar/notice.fispool differ diff --git a/src/pages/tasks/code-repository/action-bar/notice.gif b/src/pages/tasks/code-repository/action-bar/notice.gif index 791588cb6..dc0cd97ab 100755 Binary files a/src/pages/tasks/code-repository/action-bar/notice.gif and b/src/pages/tasks/code-repository/action-bar/notice.gif differ diff --git a/src/utils/fetch.ts b/src/utils/fetch.ts index 17056bb84..af8db8a72 100755 --- a/src/utils/fetch.ts +++ b/src/utils/fetch.ts @@ -126,8 +126,8 @@ export default function request(url: string, option: any, flag?: boolean) { let newOptions = { ...defaultOptions, ...options } let eduHeader = { - 'X-Edu-Signature':'1619eba6f182db728a190d444965c47c', - 'X-Edu-Timestamp':'1728974333737', + 'X-Edu-Signature':'5a997f55c8ead42db9c8102b0eeed947', + 'X-Edu-Timestamp':'1732082882272', 'X-Edu-Type':'pc', }