hsy 2 天之前
父節點
當前提交
c2b6236355
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      src/views/promotion/components/PaymentDialog.vue
  2. 2 2
      src/views/promotion/goods.vue

+ 2 - 2
src/views/promotion/components/PaymentDialog.vue

@@ -83,8 +83,8 @@ const props = defineProps({
 
 const emit = defineEmits(["update:show"]);
 
-const phone = ref("17612888982");
-const verificationCode = ref("8888");
+const phone = ref("");
+const verificationCode = ref("");
 const countdown = ref(0);
 const timer = ref(null);
 

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

@@ -233,9 +233,9 @@ const init = async () => {
   }
   const paymentSettingId = sessionStorage.getItem("paymentSettingId");
   if (!code || !paymentSettingId) {
-    // return getWeChatAuth();
+    return getWeChatAuth();
   }
-  // getOpenId()
+  getOpenId()
   // wxConfig();
 };
 onMounted(() => init());