Browse Source

允许选择同一月份

jwyu 3 years ago
parent
commit
f98fc1c890
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/hzyb/chart/Detail.vue

+ 1 - 1
src/views/hzyb/chart/Detail.vue

@@ -67,7 +67,7 @@ const handleConfirmDate=(e)=>{
         start=e[0]
         end=e[1]
     }
-    if(new Date(end)>new Date(start)){
+    if(new Date(end)>=new Date(start)){
         startDate.value=start
         endDate.value=end
         dateType.value=5