Skip to content

Commit 0639aa6

Browse files
committed
fix(comment): fix comments
1 parent 89316b7 commit 0639aa6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/page/upgrade/payment.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,11 @@ export default function Payment() {
126126
return;
127127
}
128128
if (type === 'h5') {
129-
location.href = `${args.h5_url}&redirect_url=${encodeURIComponent(location.href + '&type=weixin&orderId=' + orderId)}`;
129+
location.href = `${args.data.h5_url}&redirect_url=${encodeURIComponent(location.href + '&type=weixin&orderId=' + orderId)}`;
130130
return;
131131
}
132132
if (type === 'native') {
133-
setCode(args.code_url);
133+
setCode(args.data.code_url);
134134
codeOrderId.current = orderId;
135135
return;
136136
}

0 commit comments

Comments
 (0)