Commit d1c4d558 by cen

fix: 优化二手车tab

1 parent ec05c6fe
......@@ -108,7 +108,7 @@
/>
<GeneralPopup ref="calendarGeneralPopup" popupClass="calendarGeneralPopup" :showClose="false" :showTitle="false" @confirm="confirmCalendar">
<template #content>
<uni-calendar class="calendar" :showMonth="false" :date="defaultDate" :startDate="startDate" @change="calendarChange" />
<uni-calendar class="calendar" :showMonth="false" :date="defaultDate" :startDate="startDate" :endDate="endDate" @change="calendarChange" />
</template>
</GeneralPopup>
<GeneralPopup ref="tipsPopup" popupClass="tipsPopup" type="center" :showClose="true" :showTitle="false" :noTitle="true">
......@@ -1004,7 +1004,7 @@ export default {
if (field.endDate) {
this.endDate = dayjs().format('YYYY-MM-DD')
} else {
this.endDate = ''
this.endDate = '2039-5-20'
}
this.$refs.calendarGeneralPopup
.open()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!