From 77063fc02054212f8f95aa449afc12a0274ba5e4 Mon Sep 17 00:00:00 2001 From: liuchen864 <23082234@qq.com> Date: Mon, 16 Oct 2023 13:28:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 2 +- .env.test | 2 +- package.json | 10 ++++------ src/views/login/index.vue | 2 +- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.env.production b/.env.production index 454edb0..b7f4a92 100644 --- a/.env.production +++ b/.env.production @@ -2,7 +2,7 @@ VITE_DEV_PORT = '8080' # production path -VITE_BASE_URL = 'http://127.0.0.1:12080' +VITE_BASE_URL = 'http://dev.ccwin-in.com:25100/api' # 租户开关 VITE_APP_TENANT_ENABLE=true \ No newline at end of file diff --git a/.env.test b/.env.test index 454edb0..b7f4a92 100644 --- a/.env.test +++ b/.env.test @@ -2,7 +2,7 @@ VITE_DEV_PORT = '8080' # production path -VITE_BASE_URL = 'http://127.0.0.1:12080' +VITE_BASE_URL = 'http://dev.ccwin-in.com:25100/api' # 租户开关 VITE_APP_TENANT_ENABLE=true \ No newline at end of file diff --git a/package.json b/package.json index 12adbbf..1522a08 100644 --- a/package.json +++ b/package.json @@ -5,13 +5,11 @@ "node": ">=16.14 <18.0.0" }, "scripts": { - "dev": "vite --host", - "build": "vue-tsc --noEmit && vite build", + "dev": "vite", + "test": "vite build --mode test", + "prod": "vite build --mode production", "preview": "vite preview", - "new": "plop --plopfile ./plop/plopfile.js", - "postinstall": "husky install", - "lint": "eslint --ext .js,.jsx,.ts,.tsx,.vue src", - "lint:fix": "eslint --ext .js,.jsx,.ts,.tsx,.vue src --fix" + "lint": "eslint --fix --ext .js,.vue src" }, "dependencies": { "@amap/amap-jsapi-loader": "^1.0.1", diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 4117dfa..099d0e5 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -67,7 +67,7 @@ + style="width: 76%;margin-right: 10px;height: 42px;" @keyup.enter="handleSubmit">