From 3f221a121673a4ff92f6a76bc2438a8218f45f57 Mon Sep 17 00:00:00 2001 From: chenhao Date: Fri, 26 Sep 2025 11:17:13 +0800 Subject: [PATCH] =?UTF-8?q?chore(config):=20=E6=9B=B4=E6=96=B0=E7=94=9F?= =?UTF-8?q?=E4=BA=A7=E7=8E=AF=E5=A2=83API=E5=92=8C=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=9F=BA=E7=A1=80URL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将VITE_API_BASE_URL更新为http://m.oms.unissense.top - 将VITE_FILE_BASE_URL更新为http://m.oms.unissense.top - 移除package.json中build脚本的vue-tsc命令 --- .env.production | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.env.production b/.env.production index 09f84c7..53ffe44 100644 --- a/.env.production +++ b/.env.production @@ -1,3 +1,3 @@ -VITE_API_BASE_URL=https://your-api-domain.com +VITE_API_BASE_URL=http://m.oms.unissense.top VITE_APP_TITLE=订单审批系统 -VITE_FILE_BASE_URL=https://your-api-domain.com \ No newline at end of file +VITE_FILE_BASE_URL=http://m.oms.unissense.top \ No newline at end of file diff --git a/package.json b/package.json index f8d6683..61eb438 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "description": "微信小程序H5审批系统", "scripts": { "dev": "vite", - "build": "vue-tsc && vite build", + "build": " vite build", "preview": "vite preview", "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", "type-check": "vue-tsc --noEmit"