We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89316b7 commit 0639aa6Copy full SHA for 0639aa6
src/page/upgrade/payment.tsx
@@ -126,11 +126,11 @@ export default function Payment() {
126
return;
127
}
128
if (type === 'h5') {
129
- location.href = `${args.h5_url}&redirect_url=${encodeURIComponent(location.href + '&type=weixin&orderId=' + orderId)}`;
+ location.href = `${args.data.h5_url}&redirect_url=${encodeURIComponent(location.href + '&type=weixin&orderId=' + orderId)}`;
130
131
132
if (type === 'native') {
133
- setCode(args.code_url);
+ setCode(args.data.code_url);
134
codeOrderId.current = orderId;
135
136
0 commit comments