Commit 44fb48db3771b4bac8d20c9b6341450a228e7d1f

Authored by 杨泽宇
1 parent 7b460537

兼容性 & pinia

Showing 1 changed file with 4 additions and 0 deletions

Too many changes to show.

To preserve performance only 1 of 10 files are displayed.

index.html
@@ -5,6 +5,10 @@ @@ -5,6 +5,10 @@
5 <link rel="icon" href="/favicon.ico" /> 5 <link rel="icon" href="/favicon.ico" />
6 <meta name="viewport" content="width=device-width, initial-scale=1.0" /> 6 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7 <title>Vite App</title> 7 <title>Vite App</title>
  8 + <script type="text/javascript">
  9 + // chrome 71 以下不支持globalThis
  10 + globalThis = window
  11 + </script>
8 </head> 12 </head>
9 <body> 13 <body>
10 <div id="app"></div> 14 <div id="app"></div>