|
@@ -137,7 +137,7 @@ const getWeChatAuth = async () => {
|
|
|
const init = async () => {
|
|
|
const { code } = route.query;
|
|
|
const paymentSettingId = localStorage.getItem("paymentSettingId");
|
|
|
- if (!code && !paymentSettingId) {
|
|
|
+ if (!code || !paymentSettingId) {
|
|
|
getWeChatAuth()
|
|
|
}
|
|
|
}
|