From 8140c25601c71bd83116c9300233349ac871937f Mon Sep 17 00:00:00 2001 From: pany <939630029@qq.com> Date: Thu, 27 Oct 2022 18:20:57 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 6 +++--- .env.production | 6 +++--- .env.staging | 6 +++--- src/views/table/vxe-table/index.vue | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.env.development b/.env.development index be90637c..e15b6abd 100644 --- a/.env.development +++ b/.env.development @@ -3,11 +3,11 @@ NODE_ENV = development # 下面是自定义的环境变量,可以修改(命名必须以 VITE_ 开头) -# 后端接口公共路径(如果解决跨域问题采用反向代理就只需写公共路径) +## 后端接口公共路径(如果解决跨域问题采用反向代理就只需写公共路径) VITE_BASE_API = '/api/v1' -# 路由模式 hash 或 html5 +## 路由模式 hash 或 html5 VITE_ROUTER_HISTORY = 'hash' -# 开发环境地址前缀(一般 '/','./' 都可以) +## 开发环境地址前缀(一般 '/','./' 都可以) VITE_PUBLIC_PATH = '/' diff --git a/.env.production b/.env.production index 7fe6182a..5cfcdd94 100644 --- a/.env.production +++ b/.env.production @@ -3,11 +3,11 @@ NODE_ENV = production # 下面是自定义的环境变量,可以修改(命名必须以 VITE_ 开头) -# 后端接口公共路径(如果解决跨域问题采用 CORS 就需要写全路径) +## 后端接口公共路径(如果解决跨域问题采用 CORS 就需要写全路径) VITE_BASE_API = 'https://mock.mengxuegu.com/mock/63218b5fb4c53348ed2bc212/api/v1' -# 路由模式 hash 或 html5 +## 路由模式 hash 或 html5 VITE_ROUTER_HISTORY = 'hash' -# 打包路径(就是网站前缀,例如部署到 https://un-pany.github.io/v3-admin-vite/ 域名下,就需要填写 /v3-admin-vite/) +## 打包路径(就是网站前缀,例如部署到 https://un-pany.github.io/v3-admin-vite/ 域名下,就需要填写 /v3-admin-vite/) VITE_PUBLIC_PATH = '/v3-admin-vite/' diff --git a/.env.staging b/.env.staging index fd608f4b..5cfcdd94 100644 --- a/.env.staging +++ b/.env.staging @@ -3,11 +3,11 @@ NODE_ENV = production # 下面是自定义的环境变量,可以修改(命名必须以 VITE_ 开头) -# 后端接口公共路径(如果解决跨域问题采用 CORS 就需要写全路径) +## 后端接口公共路径(如果解决跨域问题采用 CORS 就需要写全路径) VITE_BASE_API = 'https://mock.mengxuegu.com/mock/63218b5fb4c53348ed2bc212/api/v1' -# 路由模式 hash 或 html5 +## 路由模式 hash 或 html5 VITE_ROUTER_HISTORY = 'hash' -#打包路径(就是网站前缀,例如部署到 https://un-pany.github.io/v3-admin-vite/ 域名下,就需要填写 /v3-admin-vite/) +## 打包路径(就是网站前缀,例如部署到 https://un-pany.github.io/v3-admin-vite/ 域名下,就需要填写 /v3-admin-vite/) VITE_PUBLIC_PATH = '/v3-admin-vite/' diff --git a/src/views/table/vxe-table/index.vue b/src/views/table/vxe-table/index.vue index 13561344..f1d7b9fc 100644 --- a/src/views/table/vxe-table/index.vue +++ b/src/views/table/vxe-table/index.vue @@ -368,7 +368,7 @@ const crudStore = reactive({