From a60a86886d01595e928ddf547d211145f617f120 Mon Sep 17 00:00:00 2001 From: binbin0314 Date: Thu, 29 Jul 2021 23:11:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index e05bb6e..c56e07d 100644 --- a/index.html +++ b/index.html @@ -47,7 +47,7 @@ -
+
@@ -180,8 +180,9 @@ userType: 0 } }); - fetch('http://www.tall.wiki/gateway/qcp/v3.0/patient/aidRecord', { + fetch('https://www.tall.wiki/gateway/qcp/v3.0/patient/aidRecord', { method: 'POST', + mode: 'cors', body: params, headers: new Headers({ 'Authorization': 'Bearer ' + that.token ,'Content-Type': 'application/json;charset=utf-8' @@ -289,11 +290,9 @@ if(min<10) { min = '0' + min } - console.log(`${year}-${month}-${day} ${hour}:${min}`) const chooseTime = `${year}-${month}-${day} ${hour}:${min}` if(chooseTime){ await this.choose(new Date(chooseTime).getTime()) - console.log('new Date(chooseTime).getTime(): ', new Date(chooseTime).getTime()); this.cancelTime() } },