Skip to content

Commit

Permalink
完善注释提示
Browse files Browse the repository at this point in the history
  • Loading branch information
think-gem committed Jan 13, 2022
1 parent a23d69a commit fead08b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .env.development
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 访问项目的跟路径
# 访问项目的根路径
VITE_PUBLIC_PATH = /vue3

# 跨域代理,可配置多个,注意不要换行
# 代理设置,可配置多个,不能换行,格式:[访问接口的根路径, 代理地址, 是否保持Host头]
VITE_PROXY=[["/js","http://vue.jeesite.com/js",true]]
# VITE_PROXY=[["/js","http://127.0.0.1:8980/js",false]]

Expand All @@ -11,13 +11,13 @@ VITE_DROP_CONSOLE = false
# 是否启用 Mock 模拟测试
VITE_USE_MOCK = false

# 访问接口的跟路径
# 访问接口的根路径
VITE_GLOB_API_URL=/js

# 上传文件接口的跟路径
# 上传文件接口的根路径
VITE_GLOB_UPLOAD_URL=/upload

# 访问接口的前缀,在跟路径之后
# 访问接口的前缀,在根路径之后
VITE_GLOB_API_URL_PREFIX=

# 访问接口的管理基础路径
Expand Down
8 changes: 4 additions & 4 deletions .env.production
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 访问项目的跟路径
# 访问项目的根路径
VITE_PUBLIC_PATH = /vue3

# 是否删除 console 调试信息
Expand All @@ -14,13 +14,13 @@ VITE_BUILD_COMPRESS = 'none'
# 是否删除源文件时使用压缩,默认为 false
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false

# 访问接口的跟路径
# 访问接口的根路径
VITE_GLOB_API_URL=/js

# 上传文件接口的跟路径
# 上传文件接口的根路径
VITE_GLOB_UPLOAD_URL=/upload

# 访问接口的前缀,在跟路径之后
# 访问接口的前缀,在根路径之后
VITE_GLOB_API_URL_PREFIX=

# 访问接口的管理基础路径
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ yarn build
// 页面事件定义
const emit = defineEmits(['success', 'register']);
// 国际化方法调用,参数是国际化编码的跟路径
// 国际化方法调用,参数是国际化编码的根路径
const { t } = useI18n('test.testData');
// 消息弹窗方法
Expand Down Expand Up @@ -498,7 +498,7 @@ yarn build
import { defineComponent } from 'vue';
import InputForm from './form.vue';
// 国际化方法调用,参数是国际化编码的跟路径
// 国际化方法调用,参数是国际化编码的根路径
const { t } = useI18n('test.testData');
// 消息弹窗方法
Expand Down

0 comments on commit fead08b

Please sign in to comment.