feat:更新

This commit is contained in:
dengtongyu committed 2023-04-20 10:14:50 +08:00
1 parent 7753498cbe
commit 127e75031d
5 files changed
+33 -10

No files matched your search

+4 -4
View File
@@ -8,9 +8,6 @@ switch (VITE_APP_ENV) {
case "test":
proxyTarget = "https://xxxxxx.com";
break;
case "uat":
proxyTarget = "https://xxxxxx.com";
break;
case "prod":
proxyTarget = "https://xxxxxx.com";
break;
@@ -19,6 +16,8 @@ switch (VITE_APP_ENV) {
break;
}
const beianhao = "鲁ICP备2023011417号-1";
const vconsoleDebug = true;
const scriptSrcStr = "var src = '/midjs/mjs/vconsole/v3.14.6/vconsole.min.js';document.write('<scr' + 'ipt src=\"' + src + '\"></scr' + 'ipt>');document.write('<scr' + 'ipt>new window.VConsole();</scr' + 'ipt>');";
let temp = "";
@@ -32,5 +31,6 @@ const injectScriptStr = `<script>;(function () {${temp}})();</script>`;
export {
appName,
proxyTarget,
injectScriptStr
injectScriptStr,
beianhao
};