Pārlūkot izejas kodu

Merge branch 'dev/v1.0.51_wmh' of jianyu/web into feature/v1.0.51

wenmenghao 1 gadu atpakaļ
vecāks
revīzija
9386cf3a3a
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  1. 5 0
      apps/mobile/index.html

+ 5 - 0
apps/mobile/index.html

@@ -76,6 +76,11 @@
    <!-- 开发环境需要加载的js -->
     <script defer src="/common-module/chart-module/js/chart-common.js?v=<%= assets.version %>"></script>
   <% } %>
+  <script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
+<script>
+  // VConsole 默认会挂载到 `window.VConsole` 上
+  var vConsole = new window.VConsole();
+</script>
 </body>
 
 </html>