update dropdown

This commit is contained in:
huanghong 2018-03-16 16:58:20 +08:00
parent 10d29acb97
commit 347815f7a3
2 changed files with 31 additions and 0 deletions

View file

@ -5,6 +5,36 @@
<Button type="primary" @click="subject">- 1</Button>
<Button type="primary" @click="change">Change</Button>
<Page :current="2" :total="50" simple></Page>
<div style="margin:20px 0px">
<Page :total="total" show-sizer show-elevator show-total transfer :current.sync="current"></Page>
</div>
<div style="margin:20px 0px">
<Page :total="total" show-sizer show-elevator show-total transfer :current.sync="current"></Page>
</div>
<div style="margin:20px 0px">
<Page :total="total" show-sizer show-elevator show-total transfer :current.sync="current"></Page>
</div>
<div style="margin:20px 0px">
<Page :total="total" show-sizer show-elevator show-total transfer :current.sync="current"></Page>
</div>
<div style="margin:20px 0px">
<Page :total="total" show-sizer show-elevator show-total transfer :current.sync="current"></Page>
</div>
<div style="margin:20px 0px">
<Page :total="total" show-sizer show-elevator show-total transfer :current.sync="current"></Page>
</div>
<div style="margin:20px 0px">
<Page :total="total" show-sizer show-elevator show-total transfer :current.sync="current"></Page>
</div>
<div style="margin:20px 0px">
<Page :total="total" show-sizer show-elevator show-total transfer :current.sync="current"></Page>
</div>
<div style="margin:20px 0px">
<Page :total="total" show-sizer show-elevator show-total transfer :current.sync="current"></Page>
</div>
<div style="margin:20px 0px">
<Page :total="total" show-sizer show-elevator show-total transfer :current.sync="current"></Page>
</div>
</div>
</template>
<script>

View file

@ -49,6 +49,7 @@
},
onCreate:()=>{
this.resetTransformOrigin();
this.$nextTick(this.popper.update());
},
onUpdate:()=>{
this.resetTransformOrigin();