bugfix:修复新增菜单强制默认icon的bug;修复production环境变量容易造成困惑的问题; #1660
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
修复1
修复新增菜单强制默认icon的bug。
在项目中新增菜单是一个经常会用到的功能,特别是项目初期会频繁的增加菜单。有很多菜单是不需要添加icon的,所以创建菜单给定一个默认icon对用户来说是一个负担。
修复2
修复production环境变量容易造成困惑的问题。
我的团队在每次新项目中使用GVA时,都会在production的环境变量上有困惑,其中存在很多不必要的配置(来自于development),我认为应该优化掉。