yhj
2024-06-05 b22000f1e0034376f408d236f4425e1dc98e51d8
components/w-select/w-select.vue
@@ -108,11 +108,11 @@
   props: {
      width: {
         type: String,
         default: '200px'
         default: '140px'
      },
      height: {
         type: String,
         default: '30px'
         default: '40px'
      },
      bgColor: {
         type: String,
@@ -214,7 +214,6 @@
            .in(this)
            .select('#wSelect')
            .boundingClientRect(data => {
               console.log(data.top)
               this.distanceTop = data.top // 当前元素距离顶部的距离
               this.curHeight = data.height
            })