From 593c55f2af015faa7d1af25a946b4a4bea3debc2 Mon Sep 17 00:00:00 2001 From: scout <1134087124@qq.com> Date: Mon, 13 Jan 2025 14:00:35 +0800 Subject: [PATCH] =?UTF-8?q?perf(mobile):=20=E4=BC=98=E5=8C=96=E7=A7=BB?= =?UTF-8?q?=E5=8A=A8=E7=AB=AF=E8=A7=86=E5=8F=A3=E9=85=8D=E7=BD=AE=E5=92=8C?= =?UTF-8?q?PWA=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nuxt.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nuxt.config.js b/nuxt.config.js index 070a8af..e62ad15 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -93,7 +93,8 @@ export default defineNuxtConfig({ { rel: 'icon', href: '/favicon.ico', sizes: 'any' }, ], meta: [ - { name: 'viewport', content: 'width=device-width, initial-scale=1, viewport-fit=cover' }, + { name: 'viewport', content: 'width=device-width, initial-scale=1, viewport-fit=cover,user-scalable=no' }, + { name: 'apple-mobile-web-app-capable', content: 'yes' }, { name: 'apple-mobile-web-app-status-bar-style', content: 'black-translucent' }, { name: 'theme-color', media: '(prefers-color-scheme: light)', content: '#ffffff' }, { name: 'theme-color', media: '(prefers-color-scheme: dark)', content: '#222222' },