We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f76a92 commit cc09f76Copy full SHA for cc09f76
1 file changed
pages/component/picker-view/picker-view.vue
@@ -22,7 +22,7 @@
22
23
<script>
24
export default {
25
- data: function () {
+ data () {
26
const date = new Date()
27
const years = []
28
const year = date.getFullYear()
@@ -59,7 +59,7 @@
59
}
60
},
61
methods: {
62
- bindChange: function (e) {
+ bindChange (e) {
63
const val = e.detail.value
64
this.year = this.years[val[0]]
65
this.month = this.months[val[1]]
0 commit comments