该问题已被锁定!
3
关注
1914
浏览

文章回复点赞后不能及时更新赞数,需要手动刷新页面才可以

AI智能回复搜索中,请稍后...

为什么被折叠? 0 个回复被折叠
final 高级会员 用户来自于: 安徽省合肥市
2016-06-12 16:10
static/js/aws.js  1918行 var agree_num = parseInt(selector.html().replace(/[^0-9]/ig,""));                 if (rating == 0)                 {                                          var selectorhtml = selector.html().replace(_t('我已赞'), _t('赞'));                                          selector.html(selectorhtml.replace(agree_num, (agree_num-1))).removeClass('active');                                      }                 else                 {                     var selectorhtml = selector.html().replace(_t('赞'), _t('我已赞'));                                          selector.html(selectorhtml.replace(agree_num, (agree_num+1))).addClass('active');                                      }

关于作者

问题动态

发布时间
2016-06-12 15:48
更新时间
2016-06-12 16:10
关注人数
3 人关注

推荐内容

请问,问题、文章、专栏只能一键分享到微信微博QQ空间三个地方,而不能分享给QQ好友和QQ群的吗?
文章的赞同跟威望的计算公式是什么样的。
什么时候可以发布文章
文章模块与运营的关系
大哥?明天放正式版?这就是正式版了?
请问如何在M页列表上显示 已采纳 图标?
问题内容里面的网址加nofollow属性怎么弄?
我为什么不能发起文章?
发表文章,空行空格都无效
文章分类的Bug