Bladeren bron

修复bug

Yansen 1 jaar geleden
bovenliggende
commit
769a602046
2 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. 2
    2
      src/index.html
  2. 1
    1
      src/utils/message.js

+ 2
- 2
src/index.html Bestand weergeven

18
     ></script>
18
     ></script>
19
     <!-- <script src="./assets/js/smartcitysdk.js"></script> -->
19
     <!-- <script src="./assets/js/smartcitysdk.js"></script> -->
20
     <script src="http://wmcj.ycjcjy.com/h5/assets/js/smartcitysdk.js"></script>
20
     <script src="http://wmcj.ycjcjy.com/h5/assets/js/smartcitysdk.js"></script>
21
-    <script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
21
+    <!-- <script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script> -->
22
     <script>
22
     <script>
23
       // VConsole 默认会挂载到 `window.VConsole` 上
23
       // VConsole 默认会挂载到 `window.VConsole` 上
24
-      var vConsole = new window.VConsole();
24
+      // var vConsole = new window.VConsole();
25
     </script>
25
     </script>
26
 
26
 
27
     <title>文明城市</title>
27
     <title>文明城市</title>

+ 1
- 1
src/utils/message.js Bestand weergeven

8
       type: 'warning',
8
       type: 'warning',
9
     })
9
     })
10
     //Weapp
10
     //Weapp
11
-    // throw new Error(message);
11
+    throw new Error(message);
12
   }
12
   }
13
 }
13
 }