hsy hace 2 semanas
padre
commit
920961b13e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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()
   }
 }