diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..40f965b --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,14 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Debug h5", + "type": "chrome", + "runtimeArgs": ["--remote-debugging-port=9222"], + "request": "launch", + "url": "http://localhost:5173", + "webRoot": "${workspaceFolder}", + "preLaunchTask": "uni:h5" + } + ] +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..e8c343f --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,16 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "uni:h5", + "type": "npm", + "script": "dev --devtools", + "isBackground": true, + "problemMatcher": "$vite", + "group": { + "kind": "build", + "isDefault": true + } + } + ] +} diff --git a/env/.env.production b/env/.env.production index 21207fe..fe4a86a 100644 --- a/env/.env.production +++ b/env/.env.production @@ -5,6 +5,6 @@ VITE_DELETE_CONSOLE = true # 是否开启sourcemap VITE_SHOW_SOURCEMAP = false -VITE_SERVER_BASEURL = 'http://114.218.158.24:9020' +VITE_SERVER_BASEURL = 'https://erpapi.fontree.cn' # 体制外 OA diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index beeaa77..42abd21 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -42,7 +42,7 @@