diff --git a/.env.development b/.env.development index 594a0a0..698c8fc 100644 --- a/.env.development +++ b/.env.development @@ -6,5 +6,5 @@ VUE_APP_API_ROOT = /tduck-api # 详情介绍请阅读 http://eoner.gitee.io/vue-automation/#/cdn VUE_APP_CDN = OFF # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 -VUE_APP_DEBUG_TOOL = +VUE_APP_DEBUG_TOOL = eruda diff --git a/package.json b/package.json index e470904..9a031f9 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "file-saver": "^2.0.2", "js-cookie": "^2.2.1", "nprogress": "^0.2.0", + "ua-parser-js": "^0.7.23", "vue": "^2.6.12", "vue-clipboard2": "^0.3.1", "vue-image-crop-upload": "^2.5.0", diff --git a/public/index.html b/public/index.html index 7729e54..291db74 100644 --- a/public/index.html +++ b/public/index.html @@ -14,7 +14,7 @@ <% } %> - + +
- + <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js) { %> <% } %> @@ -41,6 +42,6 @@ <% } %> - +