Pārlūkot izejas kodu

修改媒体库查看模型的浏览器图标显示

wangfumin 3 mēneši atpakaļ
vecāks
revīzija
721242f8fa
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      src/view/mediaLibrary/index.vue

+ 2 - 1
src/view/mediaLibrary/index.vue

@@ -107,6 +107,7 @@
 </template>
 
 <script setup lang="ts">
+import { appConstant } from "@/app";
 import comSelect from "@/components/company-select/index.vue";
 import comPagination from "@/components/pagination/index.vue";
 import comHead from "@/components/head/index.vue";
@@ -352,7 +353,7 @@ const refreshList = () => {
 // 跳转
 const floadileUrl = (row: any) => {
     if (row.fileType == 3) {
-      let url = `/code/index.html?title=${row.fileName}&type=${row.fileFormat}&fileUrl=${row.fileUrl}#/sign-model`
+      let url = `/code/index.html?title=${row.fileName}&app=${appConstant.deptId.toString()}&type=${row.fileFormat}&fileUrl=${row.fileUrl}#/sign-model`
       return window.open(url);
     } else {
       return window.open(row.fileUrl);