Showing
1 changed file
with
5 additions
and
5 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2022-08-29 14:31:20 | 2 | * @Date: 2022-08-29 14:31:20 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-07-25 16:33:14 | 4 | + * @LastEditTime: 2024-07-26 15:44:51 |
| 5 | * @FilePath: /data-table/src/components/OrgPickerField/MyComponent.vue | 5 | * @FilePath: /data-table/src/components/OrgPickerField/MyComponent.vue |
| 6 | * @Description: 树形组件 | 6 | * @Description: 树形组件 |
| 7 | --> | 7 | --> |
| ... | @@ -97,7 +97,7 @@ | ... | @@ -97,7 +97,7 @@ |
| 97 | style="margin-bottom: 0.5rem;" | 97 | style="margin-bottom: 0.5rem;" |
| 98 | >{{ role.name }}</van-checkbox> | 98 | >{{ role.name }}</van-checkbox> |
| 99 | </van-checkbox-group> | 99 | </van-checkbox-group> |
| 100 | - <div style="height: 4rem;"></div> | 100 | + <div style="height: 10vh;"></div> |
| 101 | </div> | 101 | </div> |
| 102 | 102 | ||
| 103 | <div v-if="tabActive === 2" style="padding: 0 0 0 1rem;"> | 103 | <div v-if="tabActive === 2" style="padding: 0 0 0 1rem;"> |
| ... | @@ -137,7 +137,7 @@ | ... | @@ -137,7 +137,7 @@ |
| 137 | icon-size="13px" | 137 | icon-size="13px" |
| 138 | :checked-color="styleColor.baseColor" style="margin-bottom: 0.5rem;">{{ user.name }}</van-checkbox> | 138 | :checked-color="styleColor.baseColor" style="margin-bottom: 0.5rem;">{{ user.name }}</van-checkbox> |
| 139 | </van-checkbox-group> | 139 | </van-checkbox-group> |
| 140 | - <div style="height: 4rem;"></div> | 140 | + <div style="height: 10vh;"></div> |
| 141 | </van-col> | 141 | </van-col> |
| 142 | </van-row> | 142 | </van-row> |
| 143 | </div> | 143 | </div> |
| ... | @@ -313,7 +313,7 @@ const openTree = () => { | ... | @@ -313,7 +313,7 @@ const openTree = () => { |
| 313 | 313 | ||
| 314 | // 树形结构底部高度可视度 | 314 | // 树形结构底部高度可视度 |
| 315 | if (!$('#deptTree').find('.tree-placeholder').length) { | 315 | if (!$('#deptTree').find('.tree-placeholder').length) { |
| 316 | - $('#deptTree').find('.ctree-tree__block-area').append('<div class="tree-placeholder" style="height: 4rem;"></div>'); | 316 | + $('#deptTree').find('.ctree-tree__block-area').append('<div class="tree-placeholder" style="height: 10vh;"></div>'); |
| 317 | } | 317 | } |
| 318 | 318 | ||
| 319 | }); | 319 | }); |
| ... | @@ -477,7 +477,7 @@ const onClickTab = ({ title }) => { // tab点击事件 | ... | @@ -477,7 +477,7 @@ const onClickTab = ({ title }) => { // tab点击事件 |
| 477 | userListReset(); | 477 | userListReset(); |
| 478 | // 树形结构底部高度可视度 | 478 | // 树形结构底部高度可视度 |
| 479 | if (!$('#userTree').find('.tree-placeholder').length) { | 479 | if (!$('#userTree').find('.tree-placeholder').length) { |
| 480 | - $('#userTree').find('.ctree-tree__block-area').append('<div class="tree-placeholder" style="height: 4rem;"></div>'); | 480 | + $('#userTree').find('.ctree-tree__block-area').append('<div class="tree-placeholder" style="height: 10vh;"></div>'); |
| 481 | } | 481 | } |
| 482 | } | 482 | } |
| 483 | }); | 483 | }); | ... | ... |
-
Please register or login to post a comment