@ -20,6 +20,7 @@ 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" ) {
@ -35,14 +36,14 @@ if (!window['indexHOCLoaded']) {
// $('head').append($('<link rel="stylesheet" type="text/css" />')
// .attr('href', `${_url_origin}/stylesheets/educoder/antd.min.css?1525440977`));
$ ( 'head' ) . append ( $ ( '<link rel="stylesheet" type="text/css" />' )
. attr ( 'href' , ` ${ _url _origin } /stylesheets/css/edu-common.css? 8 ` ) ) ;
. attr ( 'href' , ` ${ _url _origin } /stylesheets/css/edu-common.css? ${ timestamp } ` ) ) ;
$ ( 'head' ) . append ( $ ( '<link rel="stylesheet" type="text/css" />' )
. attr ( 'href' , ` ${ _url _origin } /stylesheets/educoder/edu-main.css? 8 ` ) ) ;
. attr ( 'href' , ` ${ _url _origin } /stylesheets/educoder/edu-main.css? ${ timestamp } ` ) ) ;
// index.html有加载
$ ( 'head' ) . append ( $ ( '<link rel="stylesheet" type="text/css" />' )
. attr ( 'href' , ` ${ _url _origin } /stylesheets/educoder/edu-all.css? 8 ` ) ) ;
. attr ( 'href' , ` ${ _url _origin } /stylesheets/educoder/edu-all.css? ${ timestamp } ` ) ) ;
// $('head').append($('<link rel="stylesheet" type="text/css" />')