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

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

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 人关注

推荐内容

文件配图的DIV代码怎么写?
怎么去掉文章显示在发现页的文字预览?
我的问题不是问题
文章字数多不能发布,有什么方法修改吗?
文章只显示10条信息,怎么办?
文章组织模式
问题内容里面的网址加nofollow属性怎么弄?
能否做到问题只属于话题,文章只属于归类呢?
wecenter咋加表情呢?
文章的页面没效,是什么原因?