Commit 927607e7 authored by limingzhe's avatar limingzhe

fix: debug

parent 3c58a4ba
...@@ -632,18 +632,21 @@ getUnusedWord(ques: any): any { ...@@ -632,18 +632,21 @@ getUnusedWord(ques: any): any {
} }
getBookTextLis() { getBookTextLis() {
console.log('in getBookTextLis');
const call_back = (res) => { const call_back = (res) => {
console.log('getBookTextLis res: ', res); console.log('getBookTextLis res: ', res);
}; };
if (commonPostMessageWithCallback) { if ((<any>window).commonPostMessageWithCallback != null) {
commonPostMessageWithCallback({ (<any>window).commonPostMessageWithCallback({
action: 'getPictureBookTextList' action: 'getPictureBookTextList'
}, call_back); }, call_back);
} else {
setTimeout(() => {
this.getBookTextLis();
}, 100);
} }
......
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