diff --git a/.env.development b/.env.development index 9816cd8..6f73e65 100644 --- a/.env.development +++ b/.env.development @@ -1,3 +1,3 @@ # 开发环境配置 VITE_API_BASE_URL=https://minio.zrbjr.com/ -VITE_UPLOAD_BASE_URL=https://minio.zrbjr.com/api/upload \ No newline at end of file +VITE_UPLOAD_BASE_URL=/api/upload \ No newline at end of file diff --git a/.env.production b/.env.production index 4c20eb7..7c9eff5 100644 --- a/.env.production +++ b/.env.production @@ -1,5 +1,5 @@ # 生产环境配置 VITE_API_BASE_URL=https://minio.zrbjr.com/ -VITE_UPLOAD_BASE_URL=https://minio.zrbjr.com/api/upload +VITE_UPLOAD_BASE_URL=/api/upload # VITE_API_BASE_URL=http://114.55.111.44:3001/api # VITE_UPLOAD_BASE_URL=http://114.55.111.44:3001/api/upload diff --git a/src/views/MainPage.vue b/src/views/MainPage.vue index 1413466..5383dcd 100644 --- a/src/views/MainPage.vue +++ b/src/views/MainPage.vue @@ -122,10 +122,8 @@ export default { }, ]); const newsItems = ref([ - '最新活动:双十一特惠', + '最新活动:商城特惠', '商城新品上架', - '积分兑换规则更新', - 'VIP会员特权升级', ]); // 获取用户积分