From b045de965f839d3ad00617f24e8ecc1bc62030c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com>
Date: Tue, 3 Dec 2019 11:25:19 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
public/react/src/modules/tpm/TPMIndexHOC.js | 7 +++----
public/react/src/tpm/TPMIndexHOC.js | 7 +++----
2 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/public/react/src/modules/tpm/TPMIndexHOC.js b/public/react/src/modules/tpm/TPMIndexHOC.js
index 73c882ab5..774587865 100644
--- a/public/react/src/modules/tpm/TPMIndexHOC.js
+++ b/public/react/src/modules/tpm/TPMIndexHOC.js
@@ -20,7 +20,6 @@ import Trialapplication from "../login/Trialapplication";
const $ = window.$;
const versionNum = '0001';
-const timestamp = Date.parse(new Date());
// let _url_origin = getUrl()
let _url_origin='';
if(window.location.port === "3007"){
@@ -36,14 +35,14 @@ if (!window['indexHOCLoaded']) {
// $('head').append($('')
// .attr('href', `${_url_origin}/stylesheets/educoder/antd.min.css?1525440977`));
$('head').append($('')
- .attr('href', `${_url_origin}/stylesheets/css/edu-common.css?${timestamp}`));
+ .attr('href', `${_url_origin}/stylesheets/css/edu-common.css?1`));
$('head').append($('')
- .attr('href', `${_url_origin}/stylesheets/educoder/edu-main.css?${timestamp}`));
+ .attr('href', `${_url_origin}/stylesheets/educoder/edu-main.css?1`));
// index.html有加载
$('head').append($('')
- .attr('href', `${_url_origin}/stylesheets/educoder/edu-all.css?${timestamp}`));
+ .attr('href', `${_url_origin}/stylesheets/educoder/edu-all.css?1`));
// $('head').append($('')
diff --git a/public/react/src/tpm/TPMIndexHOC.js b/public/react/src/tpm/TPMIndexHOC.js
index 9aa3d4bbc..d353ceba7 100644
--- a/public/react/src/tpm/TPMIndexHOC.js
+++ b/public/react/src/tpm/TPMIndexHOC.js
@@ -20,7 +20,6 @@ import Trialapplication from "../login/Trialapplication";
const $ = window.$;
const versionNum = '0001';
-const timestamp = Date.parse(new Date());
// let _url_origin = getUrl()
let _url_origin='';
if(window.location.port === "3007"){
@@ -36,14 +35,14 @@ if (!window['indexHOCLoaded']) {
// $('head').append($('')
// .attr('href', `${_url_origin}/stylesheets/educoder/antd.min.css?1525440977`));
$('head').append($('')
- .attr('href', `${_url_origin}/stylesheets/css/edu-common.css?${timestamp}`));
+ .attr('href', `${_url_origin}/stylesheets/css/edu-common.css?1`));
$('head').append($('')
- .attr('href', `${_url_origin}/stylesheets/educoder/edu-main.css?${timestamp}`));
+ .attr('href', `${_url_origin}/stylesheets/educoder/edu-main.css?1`));
// index.html有加载
$('head').append($('')
- .attr('href', `${_url_origin}/stylesheets/educoder/edu-all.css?${timestamp}`));
+ .attr('href', `${_url_origin}/stylesheets/educoder/edu-all.css?1`));
// $('head').append($('')