Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
data-table
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2024-07-26 15:46:14 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c4cf1fc05e960f0cba4afe281fc205a5fdf494eb
c4cf1fc0
1 parent
9863c565
fix 选择组织结构组件高度调整
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
src/components/OrgPickerField/MyComponent.vue
src/components/OrgPickerField/MyComponent.vue
View file @
c4cf1fc
<!--
* @Date: 2022-08-29 14:31:20
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-07-2
5 16:33:14
* @LastEditTime: 2024-07-2
6 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>');
}
}
});
...
...
Please
register
or
login
to post a comment