@@ -54,6 +54,10 @@ export function convertImageUrl(url: string, altText: string): string {
return canvas.toDataURL("image/png");
}
+ if(url.startsWith('https://eai-files.eos')){
+ return url;
+ }
+
const index = url.indexOf("?");
// 截取?之前的字符串
if (index !== -1) {
@@ -344,7 +344,6 @@ const getCourse = () => {
.then((res: any) => {
let data = res.data.data.records[0]
Object.assign(dataForm, {...data})
- processCourses()
getNewCourseInfo(dataForm)
})
.catch((err: any) => {