debug: 屏蔽分享海报

This commit is contained in:
hackrobot
2024-03-19 14:53:46 +08:00
parent 8eacec835c
commit 220ababca0

View File

@@ -27,14 +27,14 @@ export default function Index() {
});
// 打开分享图片弹窗,可以将图片发送给朋友、收藏或下载
Taro.downloadFile({
url: "https://res.wx.qq.com/wxdoc/dist/assets/img/demo.ef5c5bef.jpg",
success: (res) => {
Taro.showShareImageMenu({
path: res.tempFilePath,
});
},
});
// Taro.downloadFile({
// url: "https://res.wx.qq.com/wxdoc/dist/assets/img/demo.ef5c5bef.jpg",
// success: (res) => {
// Taro.showShareImageMenu({
// path: res.tempFilePath,
// });
// },
// });
}, []);
const HomeCardItem = () => {