Commit c0dedf97 by 冷斌

fix bug

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