Commit 84aae40c authored by agping's avatar agping

成交喜报 点赞 优化

parent 1765c3dc
......@@ -173,7 +173,7 @@
.then(function(response) {
if(response.data.code == 200) {
_this.zan_pic = true;
_this.show_zannum = _this.show_zannum + 1;
_this.show_zannum = _this.show_zannum*1 + 1;
setTimeout(function() {
_this.zan_pic = false;
}, 850);
......@@ -201,7 +201,7 @@
.then(function(response) {
if(response.data.code == 200) {
_this.zan_pic = false;
_this.show_zannum = _this.show_zannum - 1;
_this.show_zannum = _this.show_zannum*1 - 1;
}
})
......
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