This commit is contained in:
张成
2026-02-09 22:02:43 +08:00
parent 0f8dd44f5a
commit 132c74d27c
5 changed files with 49 additions and 5 deletions

View File

@@ -145,6 +145,7 @@ export default forwardRef(({ id, from, detail, userInfo }, ref) => {
const qrCodeUrl = qrCodeUrlRes.data.ossPath;
await delay(100);
// Taro.showLoading({ title: "生成中..." });
console.log('url', qrCodeUrl)
const url = await generatePosterImage({
playType: play_type,
ntrp: `NTRP ${genNTRPRequirementText(skill_level_min, skill_level_max)}`,
@@ -160,6 +161,8 @@ export default forwardRef(({ id, from, detail, userInfo }, ref) => {
time: `${startTime.format("ah")}${gameLength}`,
qrCodeUrl,
});
console.log('urlend', url)
// Taro.hideLoading();
Taro.showShareImageMenu({
path: url,