Commit 2b30de07 by 冷斌

fix bug

parent e5a6829e
...@@ -251,7 +251,7 @@ ...@@ -251,7 +251,7 @@
}); });
} }
var isCollect = "{$paper['iscollect']}"; var isCollect = "{$paper['iscollect']}" > 0 ? 1 : 0;
function changeCollect() { function changeCollect() {
console.log(isCollect); console.log(isCollect);
......
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