fix PWAInstallPrompt

This commit is contained in:
jxxghp
2025-07-07 23:11:27 +08:00
parent 9fc5291fec
commit 3ce7fc34f0

View File

@@ -1,11 +1,11 @@
<script setup lang="ts">
import { usePWAInstall } from '@/composables/usePWAInstall'
import { useToast } from 'vue-toastification'
const { t } = useI18n()
const {
isInstallable,
isInstalled,
isPWASupported,
showInstallPrompt,
getInstallInstructions
} = usePWAInstall()
@@ -182,4 +182,4 @@ const instructions = computed(() => getInstallInstructions())
max-width: 400px;
}
}
</style>
</style>