增加分销二维码邀请
This commit is contained in:
@@ -497,12 +497,13 @@ onShareAppMessage(async (res) => {
|
||||
});
|
||||
|
||||
onLoad(async (opt) => {
|
||||
await handleMixinOnLoad(opt);
|
||||
if (opt.q) {
|
||||
const q = decodeURIComponent(opt.q);
|
||||
const params = parseQueryString(q.split('?')[1]);
|
||||
await handleMixinOnLoad(params);
|
||||
Object.assign(options, params);
|
||||
} else {
|
||||
await handleMixinOnLoad(opt);
|
||||
Object.assign(options, opt);
|
||||
}
|
||||
console.log(options);
|
||||
|
||||
Reference in New Issue
Block a user