Commit 7e506cf1 authored by limingzhe's avatar limingzhe

fix: debug

parent c8242175
...@@ -633,9 +633,16 @@ getUnusedWord(ques: any): any { ...@@ -633,9 +633,16 @@ getUnusedWord(ques: any): any {
getBookTextLis() { getBookTextLis() {
(<any>window).courseware.getPictureBookTextList((data) => {
console.log('getPictureBookTextList data: ', data); const call_back = (res) => {
}); console.log('getBookTextLis res: ', res);
};
(<any>window).commonPostMessageWithCallback({
action: 'getPictureBookTextList'
}, call_back
);
// if ((<any>window).courseware.getPictureBookTextList) { // if ((<any>window).courseware.getPictureBookTextList) {
// (<any>window).courseware.getPictureBookTextList((data) => { // (<any>window).courseware.getPictureBookTextList((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