修改点餐页分享

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

View File

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