src/views/model/mpk/file/MpkForm.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/model/mpk/icon/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/model/mpk/file/MpkForm.vue
@@ -116,7 +116,7 @@ float: right; color: var(--el-text-color-secondary); font-size: 13px;"> <img :src="'/SimtreeUnitImage/' + item.iconName" style="height: 24px;" :alt=" item.iconDesc" /> <img :src="staticDir + 'SimtreeUnitImage/' + item.iconName" style="height: 24px;" :alt=" item.iconDesc" /> </span> </el-option> </el-select> @@ -268,6 +268,8 @@ const route = useRoute() // 路由 const router = useRouter(); const staticDir = ref(import.meta.env.VITE_STATIC_DIR) const treeData = ref([]) const iconList = ref([] as MpkIconApi.MpkIconVO) const pkgNameList = ref([] as MpkPackApi.MpkPackVO) src/views/model/mpk/icon/index.vue
@@ -50,7 +50,7 @@ <el-table-column prop="iconDesc" label="描述"/> <el-table-column align="center" label="图标" prop="icon" width="100"> <template #default="scope"> <img :src="'/SimtreeUnitImage/' + scope.row.iconName" class="mpk-icon-list" :alt=" scope.row.iconDesc" /> <img :src="staticDir + 'SimtreeUnitImage/' + scope.row.iconName" class="mpk-icon-list" :alt=" scope.row.iconDesc" /> </template> </el-table-column> <el-table-column prop="sort" label="排序"/> @@ -91,6 +91,8 @@ defineOptions({name: 'MpkIcon'}) const staticDir = ref(import.meta.env.VITE_STATIC_DIR) const message = useMessage() // 消息弹窗 const {t} = useI18n() // 国际化