ant-design-vue/components/vc-pagination/demo/simple.vue

21 lines
287 B
Vue
Raw Normal View History

2018-03-05 19:06:44 +08:00
<script>
2019-01-12 11:33:27 +08:00
import VcPagination from '../index';
import '../assets/index.less';
2018-03-05 19:06:44 +08:00
export default {
data () {
2019-01-12 11:33:27 +08:00
return {};
2018-03-05 19:06:44 +08:00
},
render () {
return (
<div>
<VcPagination
defaultCurrent={2}
total={25}
/>
</div>
2019-01-12 11:33:27 +08:00
);
2018-03-05 19:06:44 +08:00
},
2019-01-12 11:33:27 +08:00
};
2018-03-05 19:06:44 +08:00
</script>