Commit b77032bbfb37f3abf377042461b1e27773b3e39e

Authored by JEECG开源社区
Committed by Gitee
2 parents 2aab0377 152f7871

!15 限制部门选择树高度,避免部门太多时点击确定不便

Merge pull request !15 from xshawn/master
ant-design-vue-jeecg/src/components/jeecgbiz/modal/JSelectDepartModal.vue
... ... @@ -11,6 +11,7 @@
11 11 <a-spin tip="Loading..." :spinning="false">
12 12 <a-input-search style="margin-bottom: 1px" placeholder="请输入部门名称按回车进行搜索" @search="onSearch" />
13 13 <a-tree
  14 + class="my-dept-select-tree"
14 15 checkable
15 16 :treeData="treeData"
16 17 :checkStrictly="true"
... ... @@ -237,6 +238,10 @@
237 238  
238 239 </script>
239 240  
240   -<style scoped>
241   -
  241 +<style lang="less" scoped>
  242 +// 限制部门选择树高度,避免部门太多时点击确定不便
  243 +.my-dept-select-tree{
  244 + height: 350px;
  245 + overflow-y: scroll;
  246 +}
242 247 </style>
243 248 \ No newline at end of file
... ...