Explorar el Código

增加viewport设置

xujunjie hace 1 año
padre
commit
645201a6a7
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      .umirc.ts

+ 1 - 0
.umirc.ts

@@ -18,6 +18,7 @@ export default defineConfig({
     { 'http-equiv': 'expires', content: '0' },
     { 'http-equiv': 'X-UA-Compatible', content: 'IE=EmulateIE9' },
     { name: 'transparent', content: 'true' },
+    { name: 'viewport', content: 'width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' },
   ],
   proxy: {
     '/api': {