修复本地资源-生产环境异常问题

This commit is contained in:
zdg 2025-01-02 13:03:14 +08:00
parent 3800b99dfb
commit c5babd9926
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-body">
<div class="content-body-right-item" v-for="(item,index) in tools" :key="index" @click="gotoRoute(item)"> <div class="content-body-right-item" v-for="(item,index) in tools" :key="index" @click="gotoRoute(item)">
<div class="content-body-right-item-img"> <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"/> <FileImage v-else :fileName="item.img"/>
</div> </div>
<div class="content-body-right-item-text">{{item.name}}</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 { sessionStore } from '@/utils/store'
import {listEntpcourse} from "@/api/teaching/classwork"; import {listEntpcourse} from "@/api/teaching/classwork";
import {addEntpcoursefileReturnId, getEntpcoursefile} from "@/api/education/entpcoursefile"; 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 {ElMessage} from "element-plus";
import {PPTXFileToJson} from "@/AixPPTist/src/hooks/useImport"; import {PPTXFileToJson} from "@/AixPPTist/src/hooks/useImport";
import * as API_entpcoursefile from "@/api/education/entpcoursefile"; import * as API_entpcoursefile from "@/api/education/entpcoursefile";