Commit dab3ad0c authored by hewenhao's avatar hewenhao

feat: remove cdn

parent 956f3563
......@@ -9,10 +9,10 @@
<link rel="stylesheet" href="//at.alicdn.com/t/font_2425189_lvk0clvlo2.css">
<title>我的奖励金</title>
<script src="https://ssl.captcha.qq.com/TCaptcha.js"></script>
<% if (String(VUE_APP_DEPLOY_MODE) === 'test') { %>
<!-- <% if (String(VUE_APP_DEPLOY_MODE) === 'test') { %>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vConsole/3.4.1/vconsole.min.js"></script>
<script>new window.VConsole({});</script>
<% } %>
<% } %> -->
<script>
(function flexible (window, document) {
var docEl = document.documentElement
......
......@@ -5,10 +5,10 @@ import router from "./router";
import store from "./store";
import "./assets/style/normalize.css";
// if (process.env.VUE_APP_DEPLOY_MODE === "test") {
// const VConsole = require("vconsole");
// new VConsole();
// }
if (process.env.VUE_APP_DEPLOY_MODE === "test") {
const VConsole = require("vconsole");
new VConsole();
}
createApp(App)
.use(store)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment