修改点餐页分享

This commit is contained in:
2026-01-21 17:19:04 +08:00
parent 46105da573
commit 2afc2f9fab

View File

@@ -2456,7 +2456,7 @@
shareMixin,
handleMixinOnLoad,
returnQuery,
jsonToUrl,
jsonToUrl,wxShare,
returnCommonQuery
} from '@/utils/share.js'
import { onShareTimeline } from '@dcloudio/uni-app';
@@ -2491,11 +2491,11 @@ import { onShareTimeline } from '@dcloudio/uni-app';
...json,
path: '/pages/product/index' + '?' + query
});
return {
return wxShare({
query,
...json,
path: '/pages/product/index' + '?' + query
}
})
}
onShareAppMessage(onShare)