mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-27 20:42:52 +00:00
feat:
This commit is contained in:
parent
cb38d077be
commit
a63ea18b58
|
|
@ -19,13 +19,12 @@
|
|||
<script setup lang="ts">
|
||||
import { ref, watch, useSlots } from 'vue'
|
||||
|
||||
const slots = useSlots()
|
||||
defineOptions({ name: 'CommonList' })
|
||||
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
data: Array<any>
|
||||
defaultActive: string
|
||||
defaultActive?: string
|
||||
}>(),
|
||||
{
|
||||
data: () => [],
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ export function fileType(name: string) {
|
|||
*/
|
||||
export function getImgUrl(name: string) {
|
||||
const type = fileType(name) || 'txt'
|
||||
return `/src/assets/${type}-icon.svg`
|
||||
return `../src/assets/${type}-icon.svg`
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
<span class="ellipsis ml-16"> {{ model.model_type }}</span>
|
||||
</li>
|
||||
<li class="flex mt-12">
|
||||
<el-text type="info">模型名称</el-text>
|
||||
<el-text type="info">基础模型</el-text>
|
||||
<span class="ellipsis ml-16"> {{ model.model_name }}</span>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
|||
Loading…
Reference in New Issue