Commit 3d1fa034429d9b2f0b24a7b68705841ee3647560

Authored by huanghong
1 parent e09b07b7

解决dropdown弹出来之后改变位置动画还是上次的bug

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
src/components/select/dropdown.vue
@@ -49,6 +49,9 @@ @@ -49,6 +49,9 @@
49 }, 49 },
50 onCreate:()=>{ 50 onCreate:()=>{
51 this.resetTransformOrigin(); 51 this.resetTransformOrigin();
  52 + },
  53 + onUpdate:()=>{
  54 + this.resetTransformOrigin();
52 } 55 }
53 }); 56 });
54 }); 57 });