|
@@ -60,12 +60,11 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
toShare() {
|
|
|
- const url = encodeURIComponent(location.href.split('#')[0]);
|
|
|
this.wx.updateAppMessageShareData({
|
|
|
title: '测试分享',
|
|
|
desc: '测试',
|
|
|
// imgUrl:''
|
|
|
- link: url,
|
|
|
+ link: `${this.host}/articlemobile/login`,
|
|
|
success: res => {
|
|
|
console.log('in function:share success');
|
|
|
console.log(res);
|