watch: {
KaTeX parse error: Expected '}', got 'EOF' at end of input: … this.my.getConfig({
title: “眼底病之家”,
desc: val.meta.title,
imgUrl: ${config.host}images/logo.jpg
,
});
}
},
// 深度观察监听
deep: true,
},
},
const getConfig = (shareData, fn) => {
const wx = window[“wx”];
let url = window.location.href.split(’#’)[0];
let signUrl = Base64.encode(url);
axios
.post(‘http://eye.fddev.com.cn/api/wechat/jsSign’, {
signUrl: signUrl,
}, {
headers: {
‘stoken’: Utils.getToken(),
}
})
.then(
res => {
if (res.code == 200) {
let data = res.data;
wx.config({<
微信公众号所有页面做自定义分享
最新推荐文章于 2023-03-10 22:20:52 发布