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

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

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 2.5 如何调用文章标题列表?
文章发布不了吗
如何实现文章列表缩略图显示多张的问题,已解决。分享教程
文章列表页显示的文章太长了怎么调整
文章字数多不能发布,有什么方法修改吗?
文章的几个问题?
如何将问题和文章分开来
跪求调用问题,文章发布人的头像和名字方法
可以调用dz门户文章吗?
请教WeCenter如何设置首页文章摘要的字数即在哪儿设置