From eb170b533196f255047571eb853487be4fcdeeaa Mon Sep 17 00:00:00 2001 From: liuqimichale <123456lq> Date: Tue, 7 Aug 2018 14:38:18 +0800 Subject: [PATCH] 防止重复提交 --- topages/hourscount/hourscount.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/topages/hourscount/hourscount.js b/topages/hourscount/hourscount.js index 261f6b5..6cf80c1 100644 --- a/topages/hourscount/hourscount.js +++ b/topages/hourscount/hourscount.js @@ -11,7 +11,7 @@ var fun= { }, dateInit: function () { //时间初始化 - $('#hourscount-daterange-btnsta').val(moment().subtract('days', 6).format('YYYY-MM-DD')); + $('#hourscount-daterange-btnsta').val(moment().subtract('days', 0).format('YYYY-MM-DD')); $('#hourscount-daterange-btnend').val(moment().subtract('days', 0).format('YYYY-MM-DD')); //开始日期 $("#hourscount-daterange-btnsta").datetimepicker({ -- libgit2 0.21.4