[release-1.5] fix: ui issue caused by too long parent category selection list in new category (#578)

* Update AttachmentTab.vue

* Update option.js

* Update src/views/system/optiontabs/AttachmentTab.vue

Co-authored-by: Ryan Wang <i@ryanc.cc>

* revert

* revert

* Add scroll bar when category tree is too large

Co-authored-by: SladeGranger <43343180+SladeGranger@users.noreply.github.com>
Co-authored-by: Ryan Wang <i@ryanc.cc>
pull/585/head
Halo Dev Bot 2022-05-30 11:00:09 +08:00 committed by GitHub
parent 560a1248ba
commit 2389ecda2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@
placeholder="请选择上级目录,默认为顶级目录"
treeDefaultExpandAll
@change="handleChange"
:dropdown-style="{ overflow: 'auto' }"
>
</a-tree-select>
</template>