zbb hace 1 semana
padre
commit
4f623019a0
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      pages/mine/card.vue

+ 2 - 0
pages/mine/card.vue

@@ -248,6 +248,7 @@
 		const snapshotPath = await generateCardPoster(cardInfo.value)
 		const snapshotPath = await generateCardPoster(cardInfo.value)
 		wx.showShareImageMenu({
 		wx.showShareImageMenu({
 			path: snapshotPath,
 			path: snapshotPath,
+			entrancePath:'pages/splash/splash?userId=' + cardInfo.value.userId,
 			success: () => {
 			success: () => {
 				console.log('分享菜单已调起');
 				console.log('分享菜单已调起');
 			},
 			},
@@ -290,6 +291,7 @@
 		const qrFilePath = await base64ToTempFile(qrInfo.value.image)
 		const qrFilePath = await base64ToTempFile(qrInfo.value.image)
 		wx.showShareImageMenu({
 		wx.showShareImageMenu({
 			path: qrFilePath,
 			path: qrFilePath,
+			entrancePath:'pages/splash/splash?userId=' + cardInfo.value.userId,
 			success: () => {
 			success: () => {
 				console.log('分享菜单已调起');
 				console.log('分享菜单已调起');
 			},
 			},