Commit 927607e7 authored by limingzhe's avatar limingzhe

fix: debug

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