# Conflicts:
#	public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js
dev_forum
杨树明 5 years ago
commit 1a20c2c3f5

@ -1156,7 +1156,6 @@ class Listofworksstudentone extends Component {
this.setState({ this.setState({
data: datalist, data: datalist,
datas: datalists, datas: datalists,
// teacherlist: teacherlist,
teacherlists: teacherlists, teacherlists: teacherlists,
loadingstate: false, loadingstate: false,
styletable: styletable, styletable: styletable,

@ -5,9 +5,10 @@ export function loadSshScript(callback) {
let prefix = 'react/build' let prefix = 'react/build'
if (window.location.port == 3007) { if (window.location.port == 3007) {
prefix = '' prefix = ''
_url_origin = 'https://newweb.educoder.net/';
} else { } else {
// _url_origin = `https://testeduplus2.educoder.net/`; // _url_origin = `https://testeduplus2.educoder.net/`;
_url_origin = ''; _url_origin = '/';
} }
const $ = window.$; const $ = window.$;
// 未加载过 // 未加载过

@ -18,8 +18,11 @@ import Trialapplication from "../login/Trialapplication";
const $ = window.$; const $ = window.$;
const versionNum = '0001'; const versionNum = '0001';
// let _url_origin = getUrl() // let _url_origin = getUrl()
console.log(this.props)
let _url_origin=''; let _url_origin='';
if(window.location.port === "3007"){
_url_origin="https://newweb.educoder.net";
}
// let _url_origin=`https://www.educoder.net`; // let _url_origin=`https://www.educoder.net`;
if (!window['indexHOCLoaded']) { if (!window['indexHOCLoaded']) {

Loading…
Cancel
Save