|
@@ -160,7 +160,7 @@ const wxConfig = async () => {
|
|
|
});
|
|
|
};
|
|
|
const appId = ref(localStorage.getItem("appId"));
|
|
|
-const openId = ref("ozZpI7OTqj9cNlHfzAxcJ9MH41V8");
|
|
|
+const openId = ref("");
|
|
|
const getWeChatAuth = async () => {
|
|
|
const { appId, errMsg, paymentSettingId } = await preCheck();
|
|
|
if (errMsg) {
|
|
@@ -200,7 +200,7 @@ const init = async () => {
|
|
|
if (!code || !paymentSettingId) {
|
|
|
return getWeChatAuth();
|
|
|
}
|
|
|
- // getOpenId()
|
|
|
+ getOpenId()
|
|
|
wxConfig();
|
|
|
};
|
|
|
onMounted(() => init());
|