diff --git a/index.html b/index.html
index cecadad..63c289c 100644
--- a/index.html
+++ b/index.html
@@ -84,7 +84,7 @@
window.onload = async function () {
if (/MicroMessenger/i.test(window.navigator.userAgent)) {
try {
- const response = await fetch(`https://huodong2.lzlj.com/api/iceSip/wechat/jssdk`, {
+ const response = await fetch(`https://huodong2.lzlj.com/api/faceFamily/wechat/jssdk`, {
method: "POST",
headers: new Headers({
'Content-Type': 'application/json',
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 4cc9195..18375e6 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -425,56 +425,67 @@ packages:
resolution: {integrity: sha512-u72Mzc6jyJwKjJbZZcIYmd9bumJu7KNmHYdue43vT1rXPm2rITwmPWF0mmPzLm9/vJWxIRbao/jrQmxTO0Sm9w==}
cpu: [arm]
os: [linux]
+ libc: [glibc]
'@rollup/rollup-linux-arm-musleabihf@4.50.0':
resolution: {integrity: sha512-S4UefYdV0tnynDJV1mdkNawp0E5Qm2MtSs330IyHgaccOFrwqsvgigUD29uT+B/70PDY1eQ3t40+xf6wIvXJyg==}
cpu: [arm]
os: [linux]
+ libc: [musl]
'@rollup/rollup-linux-arm64-gnu@4.50.0':
resolution: {integrity: sha512-1EhkSvUQXJsIhk4msxP5nNAUWoB4MFDHhtc4gAYvnqoHlaL9V3F37pNHabndawsfy/Tp7BPiy/aSa6XBYbaD1g==}
cpu: [arm64]
os: [linux]
+ libc: [glibc]
'@rollup/rollup-linux-arm64-musl@4.50.0':
resolution: {integrity: sha512-EtBDIZuDtVg75xIPIK1l5vCXNNCIRM0OBPUG+tbApDuJAy9mKago6QxX+tfMzbCI6tXEhMuZuN1+CU8iDW+0UQ==}
cpu: [arm64]
os: [linux]
+ libc: [musl]
'@rollup/rollup-linux-loongarch64-gnu@4.50.0':
resolution: {integrity: sha512-BGYSwJdMP0hT5CCmljuSNx7+k+0upweM2M4YGfFBjnFSZMHOLYR0gEEj/dxyYJ6Zc6AiSeaBY8dWOa11GF/ppQ==}
cpu: [loong64]
os: [linux]
+ libc: [glibc]
'@rollup/rollup-linux-ppc64-gnu@4.50.0':
resolution: {integrity: sha512-I1gSMzkVe1KzAxKAroCJL30hA4DqSi+wGc5gviD0y3IL/VkvcnAqwBf4RHXHyvH66YVHxpKO8ojrgc4SrWAnLg==}
cpu: [ppc64]
os: [linux]
+ libc: [glibc]
'@rollup/rollup-linux-riscv64-gnu@4.50.0':
resolution: {integrity: sha512-bSbWlY3jZo7molh4tc5dKfeSxkqnf48UsLqYbUhnkdnfgZjgufLS/NTA8PcP/dnvct5CCdNkABJ56CbclMRYCA==}
cpu: [riscv64]
os: [linux]
+ libc: [glibc]
'@rollup/rollup-linux-riscv64-musl@4.50.0':
resolution: {integrity: sha512-LSXSGumSURzEQLT2e4sFqFOv3LWZsEF8FK7AAv9zHZNDdMnUPYH3t8ZlaeYYZyTXnsob3htwTKeWtBIkPV27iQ==}
cpu: [riscv64]
os: [linux]
+ libc: [musl]
'@rollup/rollup-linux-s390x-gnu@4.50.0':
resolution: {integrity: sha512-CxRKyakfDrsLXiCyucVfVWVoaPA4oFSpPpDwlMcDFQvrv3XY6KEzMtMZrA+e/goC8xxp2WSOxHQubP8fPmmjOQ==}
cpu: [s390x]
os: [linux]
+ libc: [glibc]
'@rollup/rollup-linux-x64-gnu@4.50.0':
resolution: {integrity: sha512-8PrJJA7/VU8ToHVEPu14FzuSAqVKyo5gg/J8xUerMbyNkWkO9j2ExBho/68RnJsMGNJq4zH114iAttgm7BZVkA==}
cpu: [x64]
os: [linux]
+ libc: [glibc]
'@rollup/rollup-linux-x64-musl@4.50.0':
resolution: {integrity: sha512-SkE6YQp+CzpyOrbw7Oc4MgXFvTw2UIBElvAvLCo230pyxOLmYwRPwZ/L5lBe/VW/qT1ZgND9wJfOsdy0XptRvw==}
cpu: [x64]
os: [linux]
+ libc: [musl]
'@rollup/rollup-openharmony-arm64@4.50.0':
resolution: {integrity: sha512-PZkNLPfvXeIOgJWA804zjSFH7fARBBCpCXxgkGDRjjAhRLOR8o0IGS01ykh5GYfod4c2yiiREuDM8iZ+pVsT+Q==}
diff --git a/src/App.vue b/src/App.vue
index ddf99e2..c8768c4 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -80,11 +80,11 @@ const handleLoginSuccess = async () => {
await initUserGameInfos(true, true)
}
-if (isLogin()) {
- handleLoginSuccess()
-} else {
- userStatus(handleLoginSuccess)
-}
+// if (isLogin()) {
+// handleLoginSuccess()
+// } else {
+// userStatus(handleLoginSuccess)
+// }
const getUserLottery = async () => {
const result = await Request("lottery", { pool: "all" }, "GET")
if (result.res.status === 200) {
diff --git a/src/components/HomePage.vue b/src/components/HomePage.vue
index fb7122b..205b4b3 100644
--- a/src/components/HomePage.vue
+++ b/src/components/HomePage.vue
@@ -91,10 +91,10 @@ const showPhotoSquare=()=>{
}
watch(() => myPhotoValue, async (newVal) => {
- console.log(newVal)
if (!newVal) {
return
}
+
isMyPhotoVisible.value = true;
}, { immediate: true })
diff --git a/src/components/MyPhoto.vue b/src/components/MyPhoto.vue
index 0aa116f..2effdf7 100644
--- a/src/components/MyPhoto.vue
+++ b/src/components/MyPhoto.vue
@@ -11,13 +11,12 @@ import { Storage, generateQR } from "../libs/utils"
const props = defineProps({
show: false
})
-
watch(() => props.show, async (newVal) => {
if (!newVal) {
return
}
fetchImages();
-})
+},{immediate:true})
const emit = defineEmits(['go-photo-square', 'update:show']);
const router = useRouter();
diff --git a/src/router/index.js b/src/router/index.js
index 45527fe..890fb1f 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -2,7 +2,7 @@ import { createRouter, createWebHistory } from 'vue-router'
import routes from './routes' // 导入路由定义
const router = createRouter({
- history: createWebHistory(),
+ history: createWebHistory('faceFamily'),
routes
})