-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #568 from beansmile/feat-update-redame
feat: 更新 readme 水印信息
- Loading branch information
Showing
2 changed files
with
9 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
## alert env tips | ||
## env watermark 水印 | ||
非正式环境显示提示,防止客户将 staging 环境,误认为是正式环境。 | ||
通过以下环境变量控制 | ||
|
||
VUE_APP_ENV: 不为 production 时,会有弹窗 | ||
VUE_APP_ENV: 不为 production 时,会有水印提示 | ||
|
||
VUE_APP_CLOSE_ENV_TIPS: 可在开发环境控制,关闭提示 | ||
VUE_APP_CLOSE_ENV_WATERMARK: 可在开发环境控制,关闭提示 | ||
|
||
VUE_APP_ENV_TIPS_DURATION:控制动画快慢,默认 10 | ||
|
||
VUE_APP_ENV_TIPS_TEXT: 自定义提示文案,默认 `This is the ${VUE_APP_ENV} environment` | ||
VUE_APP_ENV_WATERMARK_TEXT: 自定义提示文案,默认 `This is the ${VUE_APP_ENV} environment` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters