diff --git a/.env.development b/.env.development index be90637..e15b6ab 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 7fe6182..5cfcdd9 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 fd608f4..5cfcdd9 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 1356134..f1d7b9f 100644 --- a/src/views/table/vxe-table/index.vue +++ b/src/views/table/vxe-table/index.vue @@ -368,7 +368,7 @@ const crudStore = reactive({