parent
11f0a82e68
commit
80ff9c5eae
@ -319,3 +319,8 @@
|
|||||||
padding-left: 12px !important;
|
padding-left: 12px !important;
|
||||||
padding-right: 12px !important;
|
padding-right: 12px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// select下拉框
|
||||||
|
.select-popper {
|
||||||
|
max-width: 300px;
|
||||||
|
}
|
||||||
|
|||||||
@ -25,13 +25,17 @@
|
|||||||
@change="addProblemHandle"
|
@change="addProblemHandle"
|
||||||
@blur="isAddProblem = false"
|
@blur="isAddProblem = false"
|
||||||
class="mb-16"
|
class="mb-16"
|
||||||
|
popper-class="select-popper"
|
||||||
|
:popper-append-to-body="false"
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in problemOptions"
|
v-for="item in problemOptions"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
:label="item.content"
|
:label="item.content"
|
||||||
:value="item.id"
|
:value="item.id"
|
||||||
/>
|
>
|
||||||
|
{{ item.content }}
|
||||||
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
<template v-for="(item, index) in problemList" :key="index">
|
<template v-for="(item, index) in problemList" :key="index">
|
||||||
<TagEllipsis
|
<TagEllipsis
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user