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({ // Taro.downloadFile({
url: "https://res.wx.qq.com/wxdoc/dist/assets/img/demo.ef5c5bef.jpg", // url: "https://res.wx.qq.com/wxdoc/dist/assets/img/demo.ef5c5bef.jpg",
success: (res) => { // success: (res) => {
Taro.showShareImageMenu({ // Taro.showShareImageMenu({
path: res.tempFilePath, // path: res.tempFilePath,
}); // });
}, // },
}); // });
}, []); }, []);
const HomeCardItem = () => { const HomeCardItem = () => {