Commit 3a733096 authored by liujiangnan's avatar liujiangnan

debug

parent af458e5e
...@@ -434,13 +434,13 @@ window.courseware = (function () { ...@@ -434,13 +434,13 @@ window.courseware = (function () {
}; };
obj.greadPapersForText = function(params, callback){ obj.greadPapersForText = function(params, callback){
console.log("======greadPapersForText=====", params);
let str = ""; let str = "";
if( typeof(params) === "object"){ if( typeof(params) === "object"){
str = JSON.stringify(params); str = JSON.stringify(params);
}else{ }else{
str = params; str = params;
} }
console.log("======greadPapersForText=====", params);
commonPostMessageWithCallback({ action: "greadPapersForText", data: str }, callback); commonPostMessageWithCallback({ action: "greadPapersForText", data: str }, callback);
} }
obj.startTest = function(testText){ obj.startTest = function(testText){
......
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