perf[v-permission]: refine v-permission demo

This commit is contained in:
Pan
2018-12-27 18:19:11 +08:00
parent 5a1fa14753
commit d3904e6c28
4 changed files with 55 additions and 25 deletions

View File

@@ -87,7 +87,8 @@ export default {
},
permission: {
roles: 'Your roles',
switchRoles: 'Switch roles'
switchRoles: 'Switch roles',
tips: 'In some cases it is not suitable to use v-permission, such as element Tab component or el-table-column and other asynchronous rendering dom cases which can only be achieved by manually setting the v-if.'
},
guide: {
description: 'The guide page is useful for some people who entered the project for the first time. You can briefly introduce the features of the project. Demo is based on ',