Răsfoiți Sursa

下拉框弹窗修改

duy 2 ani în urmă
părinte
comite
47df566d42
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      src/views/tentative/device/components/HcSelectTree.vue

+ 2 - 2
src/views/tentative/device/components/HcSelectTree.vue

@@ -1,5 +1,5 @@
 <template>
-    <el-popover :width="widths" :visible="visible" style="height:300px;overflow-y: auto;">
+    <el-popover :width="widths" :visible="visible" >
         <template #reference>
             <div class="form-item-div" :id="uuid" @click="itemClick">
                 <div class="lable truncate" v-if="nodeId && nodeTitle">{{nodeTitle}}</div>
@@ -124,7 +124,7 @@ const testTreeClick = (data) => {
     margin-left: -12px;
 }
 .el-popper{
-    height: 400px;
+    // height: 400px;
     overflow-y: auto;
 }
 </style>