perf: 优化主题显示

This commit is contained in:
wangdan-fit2cloud 2024-07-24 11:19:30 +08:00
parent 6874b81639
commit edab63e76e
2 changed files with 7 additions and 3 deletions

View File

@ -33,11 +33,15 @@
<ul>
<li class="flex mt-16">
<el-text type="info">模型类型</el-text>
<span class="ellipsis ml-16"> {{ modelType[model.model_type as keyof typeof modelType] }}</span>
<span class="ellipsis ml-16">
{{ modelType[model.model_type as keyof typeof modelType] }}</span
>
</li>
<li class="flex mt-12">
<el-text type="info">基础模型</el-text>
<span class="ellipsis ml-16"> {{ model.model_name }}</span>
<span class="ellipsis-1 ml-16" style="height: 20px; width: 70%">
{{ model.model_name }}</span
>
</li>
</ul>
</div>

View File

@ -161,7 +161,7 @@ const themeFormRef = ref<FormInstance>()
const loading = ref(false)
const cloneTheme = ref(null)
const themeForm = ref<any>({
theme: '#3370FF',
theme: '',
icon: '',
loginLogo: '',
loginImage: '',