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

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

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

推荐内容

文章栏如何不要摘要,只要图呢
关于发布文章时的预览功能在哪里开启
希望文章增加编辑话题的功能
为什么会有文章这个功能?
文章内容页侧边栏增加文章目录
求助如何不让发现页显示文章
文章的图片连接修改!
能否做到问题只属于话题,文章只属于归类呢?
WeCenter 3.6.1 ,发起问题时,文章内容或者问题补充 (选填)填不了
官方文章收藏功能失效了