hsy 2 semanas atrás
pai
commit
920961b13e
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/views/promotion/goods.vue

+ 1 - 1
src/views/promotion/goods.vue

@@ -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()
   }
 }