浏览代码

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

wenmenghao 1 年之前
父节点
当前提交
9386cf3a3a
共有 1 个文件被更改,包括 5 次插入0 次删除
  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>