归档位置断档
This commit is contained in:
@@ -13,19 +13,21 @@
|
|||||||
placeholder="输入关键字进行过滤"
|
placeholder="输入关键字进行过滤"
|
||||||
v-model="filterText">
|
v-model="filterText">
|
||||||
</el-input>
|
</el-input>
|
||||||
<el-tree class="common-tree" :style="style" ref="tree" :data="data" :props="defaultProps"
|
<div class="tree-height">
|
||||||
:load="loadNode"
|
<el-tree class="common-tree" :style="style" ref="tree" :data="data" :props="defaultProps"
|
||||||
:lazy="lazy"
|
:load="loadNode"
|
||||||
:show-checkbox="multiple"
|
:lazy="lazy"
|
||||||
:node-key="nodeKey"
|
:show-checkbox="multiple"
|
||||||
:check-strictly="checkStrictly"
|
:node-key="nodeKey"
|
||||||
:expand-on-click-node="false"
|
:check-strictly="checkStrictly"
|
||||||
:filter-node-method="filterNode"
|
:expand-on-click-node="false"
|
||||||
:default-checked-keys="defaultCheckedKeys"
|
:filter-node-method="filterNode"
|
||||||
:highlight-current="true"
|
:default-checked-keys="defaultCheckedKeys"
|
||||||
@node-click="handleNodeClick"
|
:highlight-current="true"
|
||||||
@check-change="handleCheckChange">
|
@node-click="handleNodeClick"
|
||||||
</el-tree>
|
@check-change="handleCheckChange">
|
||||||
|
</el-tree>
|
||||||
|
</div>
|
||||||
<div id="roleFormButton" class="demo-drawer-footer">
|
<div id="roleFormButton" class="demo-drawer-footer">
|
||||||
<el-button class="common-button-primary" size="mini" icon="el-icon-check" type="primary" @click="saveUserInfo">确定</el-button>
|
<el-button class="common-button-primary" size="mini" icon="el-icon-check" type="primary" @click="saveUserInfo">确定</el-button>
|
||||||
<el-button class="common-button-default" size="mini" icon="el-icon-close" @click="cancelUserInfo">取消</el-button>
|
<el-button class="common-button-default" size="mini" icon="el-icon-close" @click="cancelUserInfo">取消</el-button>
|
||||||
@@ -289,6 +291,10 @@ export default {
|
|||||||
background-image: none !important;
|
background-image: none !important;
|
||||||
background-size:100% 100%;
|
background-size:100% 100%;
|
||||||
}
|
}
|
||||||
|
.tree-height{
|
||||||
|
height: calc(~'100% - 65px');
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
.el-drawer__body{
|
.el-drawer__body{
|
||||||
/* & > div:first-child{
|
/* & > div:first-child{
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
Reference in New Issue
Block a user