微信分享到朋友圈,自定义分享内容为什么不起作用?

wx.config({
debug: false,
appId: '${weixinShare.appId}',
timestamp: '${weixinShare.timestamp}',
nonceStr: '${weixinShare.nonceStr}',
signature: '${weixinShare.signature}',
jsApiList: ['updateTimelineShareData']
});
wx.ready(function(){
wx.updateTimelineShareData({
title: '活动详情',
link: '${weixinShare.url}',
imgUrl: 'http://cswx.com/static/image/1.jpg',
}, function(res) {

    }); 
});

已解决,使用旧版可以自定义,上述使用的是新版,可能还未支持。