This commit is contained in:
2026-09-04 15:27:46 +08:00
parent ee16f17742
commit 98579baf8f
3 changed files with 49 additions and 0 deletions
+13
View File
@@ -159,6 +159,19 @@ export default {
// 这里兜底触发一次重算(防止某些端 mounted 比父组件 onLoad 晚)
this.recomputeScrollHeight()
},
// 微信小程序:分享给朋友
onShareAppMessage() {
return {
title: '印美达 Inkreach - 产品中心',
path: '/pages/products/products'
}
},
// 微信小程序:分享到朋友圈(query 为查询字符串,打开时传给本页 onLoad)
onShareTimeline() {
return {
title: '印美达 Inkreach - 产品中心'
}
},
methods: {
async initData() {
try {