diff --git a/.env.production b/.env.production index 93d3a1b..ec4f8d0 100644 --- a/.env.production +++ b/.env.production @@ -1,7 +1,8 @@ # 自定义的环境变量(命名必须以 VITE_ 开头) ## 后端接口公共路径(如果解决跨域问题采用 CORS 就需要写全路径) -VITE_BASE_API = 'https://mock.mengxuegu.com/mock/63218b5fb4c53348ed2bc212/api/v1' +# VITE_BASE_API = 'https://mock.mengxuegu.com/mock/63218b5fb4c53348ed2bc212/api/v1' +VITE_BASE_API = 'https://www.fastmock.site/mock/761e2dda2b8890ab86c928a74e8f6538/api/v1' ## 路由模式 hash 或 html5 VITE_ROUTER_HISTORY = 'hash' diff --git a/.env.staging b/.env.staging index 93d3a1b..ec4f8d0 100644 --- a/.env.staging +++ b/.env.staging @@ -1,7 +1,8 @@ # 自定义的环境变量(命名必须以 VITE_ 开头) ## 后端接口公共路径(如果解决跨域问题采用 CORS 就需要写全路径) -VITE_BASE_API = 'https://mock.mengxuegu.com/mock/63218b5fb4c53348ed2bc212/api/v1' +# VITE_BASE_API = 'https://mock.mengxuegu.com/mock/63218b5fb4c53348ed2bc212/api/v1' +VITE_BASE_API = 'https://www.fastmock.site/mock/761e2dda2b8890ab86c928a74e8f6538/api/v1' ## 路由模式 hash 或 html5 VITE_ROUTER_HISTORY = 'hash' diff --git a/src/App.vue b/src/App.vue index 77b3ebd..c53e37c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -38,18 +38,6 @@ ElNotification({ position: "bottom-right", offset: 150 }) -ElNotification({ - title: "服务挂了", - type: "error", - message: h( - "a", - { style: "color: teal", target: "_blank", href: "https://github.com/un-pany/v3-admin-vite/issues/92" }, - "近期 API 服务不太稳定,请等我更换服务(可以加交流群第一时间获取进度),如果急需登录可以点击这里自己模拟一下数据" - ), - duration: 0, - position: "bottom-right", - offset: 300 -})