Explorar el Código

允许选择同一月份

jwyu hace 3 años
padre
commit
f98fc1c890
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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