Commit 6295a3a5 authored by liujiangnan's avatar liujiangnan

feat: openOsmo添加参数

parent d6055be8
......@@ -168,10 +168,10 @@ export function initAir(_this) {
};
window.courseware.callOcMethod("getEngineInfo", {});
},
openOsmo() {
openOsmo(params = {}) {
window.courseware.hasCalledOpenOsmo = true;
_this.log(`===成功调用openOsmo===`);
window.courseware.callOcMethod("openOsmo", {});
_this.log(`===成功调用openOsmo===${JSON.stringify(params)}`);
window.courseware.callOcMethod("openOsmo", params);
},
closeOsmo() {
window.courseware.hasCalledOpenOsmo = false;
......
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