fix PWAInstallPrompt

This commit is contained in:
jxxghp
2025-07-07 23:11:27 +08:00
parent 9fc5291fec
commit 3ce7fc34f0
+1 -1
View File
@@ -1,11 +1,11 @@
<script setup lang="ts"> <script setup lang="ts">
import { usePWAInstall } from '@/composables/usePWAInstall' import { usePWAInstall } from '@/composables/usePWAInstall'
import { useToast } from 'vue-toastification'
const { t } = useI18n() const { t } = useI18n()
const { const {
isInstallable, isInstallable,
isInstalled, isInstalled,
isPWASupported,
showInstallPrompt, showInstallPrompt,
getInstallInstructions getInstallInstructions
} = usePWAInstall() } = usePWAInstall()