fix:【问题管理】添加关联问题时,问题过长下拉组件样式优化(#80) (#129)

This commit is contained in:
wangdan-fit2cloud 2024-04-17 10:43:57 +08:00 committed by GitHub
parent 11f0a82e68
commit 80ff9c5eae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 1 deletions

View File

@ -319,3 +319,8 @@
padding-left: 12px !important;
padding-right: 12px !important;
}
// select下拉框
.select-popper {
max-width: 300px;
}

View File

@ -25,13 +25,17 @@
@change="addProblemHandle"
@blur="isAddProblem = false"
class="mb-16"
popper-class="select-popper"
:popper-append-to-body="false"
>
<el-option
v-for="item in problemOptions"
:key="item.id"
:label="item.content"
:value="item.id"
/>
>
{{ item.content }}
</el-option>
</el-select>
<template v-for="(item, index) in problemList" :key="index">
<TagEllipsis