merge
This commit is contained in:
@@ -310,7 +310,7 @@ const initUserGameInfos = async (refresh_official, refresh_cap_scan) => {
|
|||||||
const handleLoginSuccess = async () => {
|
const handleLoginSuccess = async () => {
|
||||||
console.log("已登录")
|
console.log("已登录")
|
||||||
loginShow.value = false
|
loginShow.value = false
|
||||||
console.log(111)
|
|
||||||
await initUserGameInfos(true, true)
|
await initUserGameInfos(true, true)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -338,9 +338,7 @@ globalToastEvent.on(ToastType.SHOW_LOTTERY, () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
watch(() => lotteryShow.value, async (newVal) => {
|
watch(() => lotteryShow.value, async (newVal) => {
|
||||||
if (newVal) {
|
initUserGameInfos(true, true);
|
||||||
initUserGameInfos(true, true)
|
|
||||||
}
|
|
||||||
}, { immediate: true })
|
}, { immediate: true })
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ const openHaibao = async (e) => {
|
|||||||
url.searchParams.append('my_only', '1');
|
url.searchParams.append('my_only', '1');
|
||||||
url.searchParams.append('page', '1');
|
url.searchParams.append('page', '1');
|
||||||
url.searchParams.append('per_page', '100');
|
url.searchParams.append('per_page', '100');
|
||||||
if (!globalStore.result_url) {
|
if (!globalStore.result_url && !mergeId) {
|
||||||
fetch(url.toString(), {
|
fetch(url.toString(), {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
headers: {
|
headers: {
|
||||||
|
|||||||
Reference in New Issue
Block a user