Browse Source

选择编辑 搜索关键字 固定

xiebeibei 4 years ago
parent
commit
d18e6d9738
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/components/edit/edit-dialog.vue

+ 3 - 1
src/components/edit/edit-dialog.vue

@@ -56,7 +56,9 @@
                 <div class="tree" >
                     <a-spin :spinning="spinning">
                     <a-input-search placeholder="请输入关键字" v-if="majorId||sysId" style="width: 235px;margin: 10px 10px;"  v-model="selectVal"  @search="onSearchTree" />
-                    <Tree @change="getTreeId" :data="treeData"/>
+                   <div style="height: 385px;overflow-y: scroll;">
+                       <Tree @change="getTreeId" :data="treeData"/>
+                   </div>
                     </a-spin>
                 </div>
                 <div class="checkbox">