Merge pull request 'zdg_dev' (#197) from zdg_dev into main

Reviewed-on: #197
This commit is contained in:
zhengdegang 2025-01-02 13:04:40 +08:00
commit b50cc8c330
1 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@
<div class="content-body-right-body">
<div class="content-body-right-item" v-for="(item,index) in tools" :key="index" @click="gotoRoute(item)">
<div class="content-body-right-item-img">
<img v-if="item.suffix" :src="`/icon/${item.img}.${item.suffix}`" />
<img v-if="item.suffix" :src="getStaticUrl(`/icon/${item.img}.${item.suffix}`)" />
<FileImage v-else :fileName="item.img"/>
</div>
<div class="content-body-right-item-text">{{item.name}}</div>
@ -93,7 +93,7 @@ import { dataSetJson } from '@/utils/comm' // 数据集id文生图
import { sessionStore } from '@/utils/store'
import {listEntpcourse} from "@/api/teaching/classwork";
import {addEntpcoursefileReturnId, getEntpcoursefile} from "@/api/education/entpcoursefile";
import {createWindow, toLinkLeftWeb} from "@/utils/tool";
import {createWindow, toLinkLeftWeb, getStaticUrl} from "@/utils/tool";
import {ElMessage} from "element-plus";
import {PPTXFileToJson} from "@/AixPPTist/src/hooks/useImport";
import * as API_entpcoursefile from "@/api/education/entpcoursefile";