hsy 2 dias atrás
pai
commit
c2b6236355

+ 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());