From 525b79cd44efc957c0248535447bd9cef5d9b153 Mon Sep 17 00:00:00 2001 From: SinoroWu Date: Wed, 7 Dec 2022 18:35:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AA=BF=E6=95=B4=20=5FgraphManagement.html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Frontend/_graphManagement.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Frontend/_graphManagement.html b/Frontend/_graphManagement.html index 9fcbbcf..c47404a 100644 --- a/Frontend/_graphManagement.html +++ b/Frontend/_graphManagement.html @@ -128,7 +128,7 @@ @@ -183,7 +183,7 @@ @@ -245,8 +245,9 @@ onEvent('click', '#accManSendBtn', function () { let url = baseApiUrl + "/GraphManage/SaveGraMan"; - + var myCode = (+new Date()); let fd = new FormData(); + fd.append("code", myCode); fd.append("main_system_tag", $("#upSelMain").val()); fd.append("sub_system_tag", $("#upSelSub").val()); fd.append("name", $("#upPicName").val()); @@ -266,9 +267,8 @@ beforeSend: function (xhr) { xhr.setRequestHeader('Authorization', "Bearer " + localStorage.getItem("JWT-Authorization")) }, success: function (res) { if (!res || res.code != "0000" || !res.data) { - } else { - console.log("ERROR: POST fd"); + // console.log("ERROR: ", res.data, res.code); } } });