Commit 11812ead authored by 13841799530's avatar 13841799530

解润东

20220609
bug修复
parent 4394fe06
Pipeline #8467 passed with stage
in 5 minutes and 11 seconds
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<van-icon name="calendar-o" @click="show=true"/> <van-icon name="calendar-o" @click="show=true"/>
</template> </template>
</van-search> </van-search>
<van-calendar v-model="show" type="range" :default-date="null" @confirm="onConfirm" /> <van-calendar v-model="show" type="range" :min-date="minDate" :default-date="defaultData" @confirm="onConfirm" />
<!-- 内容列表 --> <!-- 内容列表 -->
<!-- 接口对接4 START --> <!-- 接口对接4 START -->
<div class="con-list" @touchmove="showIndex = null"> <div class="con-list" @touchmove="showIndex = null">
...@@ -114,6 +114,9 @@ export default { ...@@ -114,6 +114,9 @@ export default {
}, },
data() { data() {
return { return {
minDate: new Date(1900, 0, 1),
defaultData:[new Date(new Date().getFullYear(), new Date().getMonth(), 1)
,new Date(new Date().getFullYear(), new Date().getMonth(), new Date(new Date().getFullYear(),new Date().getMonth()+1,0).getDate())],
startTime:'', startTime:'',
endTime:'', endTime:'',
Loading: false, Loading: false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment