提交 53b81578 编写于 作者: Y yurj26

perf(picker-view): data

上级 a5acf8c5
......@@ -23,6 +23,8 @@
</template>
<script lang="ts">
export default {
data() {
const date = new Date()
const _years : number[] = []
const _year = date.getFullYear()
......@@ -39,8 +41,6 @@
for (let i = 1; i <= 31; i++) {
_days.push(i)
}
export default {
data() {
return {
title: 'picker-view',
years: _years as number[],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册