Commit a2204841 authored by liujiangnan's avatar liujiangnan

feat

parent 025a43ce
......@@ -10,7 +10,7 @@ export default class NewClass extends middleLayerBase {
(<any>window).courseware.getData = async (callback) => {
let data = null;
if (this.courseItem && this.courseItem.data) {
data = this.courseItem.data.replace("http://", "https://")
data = this.courseItem.data.replace(/http:/g, "https:");
this.log("===成功调用getData===" + data);
data = JSON.parse(data);
}
......
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