2a875a8f by zhangmeng

日期限制

1 parent a024cd59
...@@ -139,6 +139,7 @@ function getData(){ ...@@ -139,6 +139,7 @@ function getData(){
139 }else{ 139 }else{
140 currentDate.value= currentDate1.value = query.value.currentDate = dayjs(toDay).format('YYYY-MM-DD') 140 currentDate.value= currentDate1.value = query.value.currentDate = dayjs(toDay).format('YYYY-MM-DD')
141 } 141 }
142 calendarRange.value=[dayjs(currentDate.value).toDate(),(dayjs(currentDate.value).toDate())]
142 } 143 }
143 144
144 function getScheduleList() { 145 function getScheduleList() {
......
...@@ -137,6 +137,7 @@ function getData(){ ...@@ -137,6 +137,7 @@ function getData(){
137 }else{ 137 }else{
138 currentDate1.value = query.value.currentDate = dayjs(toDay).format('YYYY-MM-DD') 138 currentDate1.value = query.value.currentDate = dayjs(toDay).format('YYYY-MM-DD')
139 } 139 }
140 calendarRange.value=[dayjs(currentDate1.value).toDate(),(dayjs(currentDate1.value).toDate())]
140 } 141 }
141 142
142 143
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!