Explorar o código

中心功率预测页面调整

fanxiaoyu hai 7 meses
pai
achega
3d769abbcf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      cpp-ui/src/views/cloudDataQuery/index.vue

+ 1 - 1
cpp-ui/src/views/cloudDataQuery/index.vue

@@ -672,7 +672,7 @@ export default {
       // 日期使用
       pickerOptions: {
         disabledDate: (time) => {
-          return time.getTime() > Date.now() + 8.64e7 *10
+          return time.getTime() >  new Date(new Date().toLocaleDateString()).getTime() + 24 * 60 * 60 * 1000 *11 - 1
         }
       },
     }