7fa943eb
梁灏
init
|
1
|
<template>
|
ea060d98
Rijn
fix #1543
|
2
|
<div>
|
a7a79014
梁灏
fixed #3112
|
3
|
<Page :total="total" show-sizer show-elevator show-total transfer :current.sync="current"></Page>
|
6355250e
Rijn
emit current upda...
|
4
|
{{ current }}
|
ea060d98
Rijn
fix #1543
|
5
|
<Button type="primary" @click="subject">- 1</Button>
|
6355250e
Rijn
emit current upda...
|
6
|
<Button type="primary" @click="change">Change</Button>
|
6d2b7bcb
梁灏
fixed #1575
|
7
|
<Page :current="2" :total="50" simple></Page>
|
347815f7
huanghong
update dropdown
|
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
<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>
|
ea060d98
Rijn
fix #1543
|
38
|
</div>
|
7fa943eb
梁灏
init
|
39
40
|
</template>
<script>
|
7fa943eb
梁灏
init
|
41
|
export default {
|
ea060d98
Rijn
fix #1543
|
42
43
|
data () {
return {
|
6355250e
Rijn
emit current upda...
|
44
|
current: 1,
|
ea060d98
Rijn
fix #1543
|
45
46
47
48
49
50
|
total: 21
}
},
methods: {
subject() {
this.total -= 1;
|
6355250e
Rijn
emit current upda...
|
51
52
53
|
},
change() {
this.current = 1;
|
ea060d98
Rijn
fix #1543
|
54
55
|
}
}
|
7fa943eb
梁灏
init
|
56
|
}
|
d6342fe1
jingsam
fixed ie bug
|
57
|
</script>
|