fix: 修复模型设置滚动条问题
This commit is contained in:
parent
da1037d27d
commit
c2bffb934e
@ -3,6 +3,7 @@
|
|||||||
<div class="template-manage flex main-calc-height">
|
<div class="template-manage flex main-calc-height">
|
||||||
<div class="template-manage__left p-8 border-r">
|
<div class="template-manage__left p-8 border-r">
|
||||||
<h4 class="p-16" style="padding-bottom: 8px">供应商</h4>
|
<h4 class="p-16" style="padding-bottom: 8px">供应商</h4>
|
||||||
|
<div class="model-list-height-left">
|
||||||
<el-scrollbar>
|
<el-scrollbar>
|
||||||
<common-list
|
<common-list
|
||||||
:data="provider_list"
|
:data="provider_list"
|
||||||
@ -22,13 +23,19 @@
|
|||||||
<span>全部模型</span>
|
<span>全部模型</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex" v-else>
|
<div class="flex" v-else>
|
||||||
<span :innerHTML="row.icon" alt="" style="height: 20px; width: 20px" class="mr-8" />
|
<span
|
||||||
|
:innerHTML="row.icon"
|
||||||
|
alt=""
|
||||||
|
style="height: 20px; width: 20px"
|
||||||
|
class="mr-8"
|
||||||
|
/>
|
||||||
<span>{{ row.name }}</span>
|
<span>{{ row.name }}</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</common-list>
|
</common-list>
|
||||||
</el-scrollbar>
|
</el-scrollbar>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div class="template-manage__right w-full" v-loading="list_model_loading">
|
<div class="template-manage__right w-full" v-loading="list_model_loading">
|
||||||
<div class="p-24 pb-0">
|
<div class="p-24 pb-0">
|
||||||
<h4>{{ active_provider?.name }}</h4>
|
<h4>{{ active_provider?.name }}</h4>
|
||||||
@ -166,5 +173,8 @@ onMounted(() => {
|
|||||||
.model-list-height {
|
.model-list-height {
|
||||||
height: calc(var(--create-dataset-height) - 70px);
|
height: calc(var(--create-dataset-height) - 70px);
|
||||||
}
|
}
|
||||||
|
.model-list-height-left {
|
||||||
|
height: calc(var(--create-dataset-height));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user