限制部门选择树高度,避免部门太多时点击确定不便
This commit is contained in:
parent
01ac622c0c
commit
152f787103
|
@ -10,6 +10,7 @@
|
|||
<a-spin tip="Loading..." :spinning="false">
|
||||
<a-input-search style="margin-bottom: 1px" placeholder="请输入部门名称按回车进行搜索" @search="onSearch" />
|
||||
<a-tree
|
||||
class="my-dept-select-tree"
|
||||
checkable
|
||||
:treeData="treeData"
|
||||
:checkStrictly="true"
|
||||
|
@ -236,6 +237,10 @@
|
|||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
<style lang="less" scoped>
|
||||
// 限制部门选择树高度,避免部门太多时点击确定不便
|
||||
.my-dept-select-tree{
|
||||
height: 350px;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
</style>
|
Loading…
Reference in New Issue