Page add prev-text and next-text prop

This commit is contained in:
梁灏 2018-06-22 11:02:07 +08:00
parent 1a4a76e903
commit ac50d539aa
3 changed files with 20 additions and 5 deletions

View file

@ -1,6 +1,6 @@
<template>
<div>
<Page :total="total" show-sizer show-elevator show-total transfer :current.sync="current"></Page>
<Page prev-text="上一页" next-text="下一页" :total="total" show-sizer show-elevator show-total transfer :current.sync="current"></Page>
{{ current }}
<Button type="primary" @click="subject">- 1</Button>
<Button type="primary" @click="change">Change</Button>