hsy 2 周之前
父节点
当前提交
920961b13e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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()
   }
 }