Explorar o código

下拉框弹窗修改

duy %!s(int64=2) %!d(string=hai) anos
pai
achega
47df566d42
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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>