hookehuyr

fix 选择组织结构组件高度调整

<!--
* @Date: 2022-08-29 14:31:20
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-07-25 16:33:14
* @LastEditTime: 2024-07-26 15:44:51
* @FilePath: /data-table/src/components/OrgPickerField/MyComponent.vue
* @Description: 树形组件
-->
......@@ -97,7 +97,7 @@
style="margin-bottom: 0.5rem;"
>{{ role.name }}</van-checkbox>
</van-checkbox-group>
<div style="height: 4rem;"></div>
<div style="height: 10vh;"></div>
</div>
<div v-if="tabActive === 2" style="padding: 0 0 0 1rem;">
......@@ -137,7 +137,7 @@
icon-size="13px"
:checked-color="styleColor.baseColor" style="margin-bottom: 0.5rem;">{{ user.name }}</van-checkbox>
</van-checkbox-group>
<div style="height: 4rem;"></div>
<div style="height: 10vh;"></div>
</van-col>
</van-row>
</div>
......@@ -313,7 +313,7 @@ const openTree = () => {
// 树形结构底部高度可视度
if (!$('#deptTree').find('.tree-placeholder').length) {
$('#deptTree').find('.ctree-tree__block-area').append('<div class="tree-placeholder" style="height: 4rem;"></div>');
$('#deptTree').find('.ctree-tree__block-area').append('<div class="tree-placeholder" style="height: 10vh;"></div>');
}
});
......@@ -477,7 +477,7 @@ const onClickTab = ({ title }) => { // tab点击事件
userListReset();
// 树形结构底部高度可视度
if (!$('#userTree').find('.tree-placeholder').length) {
$('#userTree').find('.ctree-tree__block-area').append('<div class="tree-placeholder" style="height: 4rem;"></div>');
$('#userTree').find('.ctree-tree__block-area').append('<div class="tree-placeholder" style="height: 10vh;"></div>');
}
}
});
......