diff --git a/config/index.d.ts b/config/index.d.ts index 1d478b8..1747b2e 100644 --- a/config/index.d.ts +++ b/config/index.d.ts @@ -12,4 +12,6 @@ export declare const scriptSrcStr: string; export declare let temp: string; -export declare const injectScriptStr: string; \ No newline at end of file +export declare const injectScriptStr: string; + +export declare const beianhao: string; \ No newline at end of file diff --git a/config/index.ts b/config/index.ts index 1c2a657..d5f558d 100644 --- a/config/index.ts +++ b/config/index.ts @@ -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('');document.write('new window.VConsole();');"; let temp = ""; @@ -32,5 +31,6 @@ const injectScriptStr = ``; export { appName, proxyTarget, - injectScriptStr + injectScriptStr, + beianhao }; \ No newline at end of file diff --git a/package.json b/package.json index 8592f68..27c1750 100644 --- a/package.json +++ b/package.json @@ -8,10 +8,8 @@ "scripts": { "dev": "vite", "serve:test": "cross-env VITE_APP_ENV=test vite", - "serve:uat": "cross-env VITE_APP_ENV=uat vite", "serve:prod": "cross-env VITE_APP_ENV=prod vite", "build:test": "vue-tsc --noEmit && cross-env VITE_APP_ENV=test vite build", - "build:uat": "vue-tsc --noEmit && cross-env VITE_APP_ENV=uat vite build", "build:prod": "vue-tsc --noEmit && cross-env VITE_APP_ENV=prod vite build", "preview": "vite preview", "lint": "eslint --fix config/*.{ts} && eslint --fix src/*.{ts,vue} && eslint --fix src/**/*.{ts,vue}" diff --git a/src/pages/h5.vue b/src/pages/h5.vue index d070fde..3146be8 100644 --- a/src/pages/h5.vue +++ b/src/pages/h5.vue @@ -1,4 +1,5 @@