From cb68d8e6d3448513fdd0b81fcb134823f2c1a738 Mon Sep 17 00:00:00 2001 From: luosongbai <15272473386@163.com> Date: Tue, 8 Feb 2022 17:38:21 +0800 Subject: [PATCH] 1 --- web/src/x.min.js | 5 ++--- web/srczip/common.js | 5 ++--- web/static/css/analysis.css | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/web/src/x.min.js b/web/src/x.min.js index 25355e7..72054c2 100644 --- a/web/src/x.min.js +++ b/web/src/x.min.js @@ -326,8 +326,7 @@ var X = window.X || { 'Content-Type':'application/json', }, } - console.log(url); - console.log(request); + const response = await fetch(url, request); // const filename = response.headers.get('content-disposition').split('=')[1]; @@ -628,7 +627,7 @@ var X = window.X || { '全部时间': [moment().subtract( parseInt((new Date).getTime()/86400000) , 'days'), moment()] }, "alwaysShowCalendars": true, - "startDate": moment().subtract(7, 'days'), + "startDate": moment().subtract(6, 'days'), "endDate": new Date(), "opens": "right", diff --git a/web/srczip/common.js b/web/srczip/common.js index 484451b..fd1c912 100644 --- a/web/srczip/common.js +++ b/web/srczip/common.js @@ -325,8 +325,7 @@ var X = window.X || { 'Content-Type':'application/json', }, } - console.log(url); - console.log(request); + const response = await fetch(url, request); // const filename = response.headers.get('content-disposition').split('=')[1]; @@ -627,7 +626,7 @@ var X = window.X || { '全部时间': [moment().subtract( parseInt((new Date).getTime()/86400000) , 'days'), moment()] }, "alwaysShowCalendars": true, - "startDate": moment().subtract(7, 'days'), + "startDate": moment().subtract(6, 'days'), "endDate": new Date(), "opens": "right", diff --git a/web/static/css/analysis.css b/web/static/css/analysis.css index 0e01055..57e168d 100644 --- a/web/static/css/analysis.css +++ b/web/static/css/analysis.css @@ -200,7 +200,7 @@ .dropdownlist-box { width: 200px; max-height: 350px; background-color: #fff; } .dropdownlist-list { cursor: pointer; margin: 0px 0; padding: 8px 15px; font-size: 14px; color: rgba(0, 0, 0, 0.8); } -.dropdownlist-list:hover { background-color: #f6f8fa; color: rgba(0, 0, 0, 0.8) !important;} +/* .dropdownlist-list:hover { background-color: #f6f8fa; color: rgba(0, 0, 0, 0.8) !important;} */ .dropdownlist-input { width: 170px; padding: 15px; border: 0; } .dropdownlist-list-on { background-color: #3d90ff; color: #fff !important;}