diff --git a/src/lang/en.js b/src/lang/en.js index 67865296..b59e7afe 100644 --- a/src/lang/en.js +++ b/src/lang/en.js @@ -72,7 +72,7 @@ export default { }, login: { title: 'Login Form', - logIn: 'Log in', + logIn: 'Login', username: 'Username', password: 'Password', any: 'any', @@ -85,10 +85,10 @@ export default { }, permission: { addRole: 'New Role', - editPermission: 'Edit Permission', + editPermission: 'Edit', roles: 'Your 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.', + tips: 'In some cases, using v-permission will have no effect. For example: Element-UI el-tab or el-table-column and other scenes that dynamically render dom. You can only do this with v-if.', delete: 'Delete', confirm: 'Confirm', cancel: 'Cancel' diff --git a/src/lang/zh.js b/src/lang/zh.js index ba00deef..4394cc70 100644 --- a/src/lang/zh.js +++ b/src/lang/zh.js @@ -88,7 +88,7 @@ export default { editPermission: '编辑权限', roles: '你的权限', switchRoles: '切换权限', - tips: '在某些情况下,不适合使用 v-permission。例如:Element-UI 的 Tab 组件或 el-table-column 以及其它动态渲染 dom 的场景。你只能通过手动设置 v-if 来实现。', + tips: '在某些情况下,不适合使用 v-permission。例如:Element-UI 的 el-tab 或 el-table-column 以及其它动态渲染 dom 的场景。你只能通过手动设置 v-if 来实现。', delete: '删除', confirm: '确定', cancel: '取消' diff --git a/src/views/permission/components/SwitchRoles.vue b/src/views/permission/components/SwitchRoles.vue index 55297d09..de1176ad 100644 --- a/src/views/permission/components/SwitchRoles.vue +++ b/src/views/permission/components/SwitchRoles.vue @@ -1,9 +1,9 @@