Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-20 10:59:21 +08:00

docs: 优化

This commit is contained in:
pany 2022-10-27 18:20:57 +08:00
parent b0b50820db
commit 8140c25601
4 changed files with 10 additions and 10 deletions

View File

@ -3,11 +3,11 @@ NODE_ENV = development
# 下面是自定义的环境变量,可以修改(命名必须以 VITE_ 开头)
# 后端接口公共路径(如果解决跨域问题采用反向代理就只需写公共路径)
## 后端接口公共路径(如果解决跨域问题采用反向代理就只需写公共路径)
VITE_BASE_API = '/api/v1'
# 路由模式 hash 或 html5
## 路由模式 hash 或 html5
VITE_ROUTER_HISTORY = 'hash'
# 开发环境地址前缀(一般 '/''./' 都可以)
## 开发环境地址前缀(一般 '/''./' 都可以)
VITE_PUBLIC_PATH = '/'

View File

@ -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/'

View File

@ -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/'

View File

@ -368,7 +368,7 @@ const crudStore = reactive({
</template>
<!-- 操作 -->
<template #row-operate="{ row }">
<el-button link type="primary" @click="crudStore.onShowModal(row)">编辑</el-button>
<el-button link type="primary" @click="crudStore.onShowModal(row)">修改</el-button>
<el-button link type="danger" @click="crudStore.onDelete(row)">删除</el-button>
</template>
</vxe-grid>