[update] 修改bug81904
This commit is contained in:
@@ -15,6 +15,7 @@
|
|||||||
@click="clickField"
|
@click="clickField"
|
||||||
/>
|
/>
|
||||||
<!-- 使用lazy-render会在进入流程详情页时就卡顿 -->
|
<!-- 使用lazy-render会在进入流程详情页时就卡顿 -->
|
||||||
|
<!-- @opened="opened" -->
|
||||||
<van-popup
|
<van-popup
|
||||||
v-model="showCalendar"
|
v-model="showCalendar"
|
||||||
position="bottom"
|
position="bottom"
|
||||||
@@ -68,7 +69,8 @@ export default {
|
|||||||
return {
|
return {
|
||||||
showCalendar: false,
|
showCalendar: false,
|
||||||
// minDate: new Date(new Date().getFullYear() - 50, 0, 1),
|
// minDate: new Date(new Date().getFullYear() - 50, 0, 1),
|
||||||
// maxDate: new Date(new Date().getFullYear() + 50, 0, 1)
|
// maxDate: new Date(new Date().getFullYear() + 50, 0, 1),
|
||||||
|
// millSeconds: 0,
|
||||||
minDate: new Date(1949, 0, 1),
|
minDate: new Date(1949, 0, 1),
|
||||||
maxDate: new Date(2100, 0, 1) // 设置时间可选日期时间跨度太大的话显示和隐藏日历很卡
|
maxDate: new Date(2100, 0, 1) // 设置时间可选日期时间跨度太大的话显示和隐藏日历很卡
|
||||||
}
|
}
|
||||||
@@ -96,7 +98,13 @@ export default {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.showCalendar = true
|
this.showCalendar = true
|
||||||
|
// this.millSeconds = Date.now()
|
||||||
|
// console.log(new Date().getHours() + ':' + new Date().getMinutes() + ':' + new Date().getSeconds(), this.millSeconds)
|
||||||
}
|
}
|
||||||
|
// opened () {
|
||||||
|
// console.log(new Date().getHours() + ':' + new Date().getMinutes() + ':' + new Date().getSeconds(), Date.now())
|
||||||
|
// console.log(Math.abs(Date.now() - this.millSeconds) + '毫秒')
|
||||||
|
// }
|
||||||
},
|
},
|
||||||
model: {
|
model: {
|
||||||
prop: 'value',
|
prop: 'value',
|
||||||
|
|||||||
Reference in New Issue
Block a user