Commit bab61186 authored by liujiangnan's avatar liujiangnan

fix

parent d3286177
......@@ -8,9 +8,6 @@ new Vue({
window.courseware.getData((checkedArr) => {
//数据加载完,才算页面加载完成
//获取数据
console.log('-----------------');
console.log(checkedArr);
console.log('-----------------');
this.loadRows(checkedArr||[]);
this.loadFaf(checkedArr||[]);
},key);
......@@ -79,7 +76,7 @@ new Vue({
computed: {
compDomain: function () {
const protocolStr = document.location.protocol;
if (document.domain.indexOf("staging-") < 0 && document.domain != 'localhost') {
if (document.domain.indexOf("staging") < 0 && document.domain != 'localhost') {
return `${protocolStr}//openapi.iteachabc.com/`;
}
return `${protocolStr}//staging-openapi.iteachabc.com/`;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment