hsy 2 minggu lalu
induk
melakukan
920961b13e
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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()
   }
 }