mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-07 18:25:45 +08:00
Switch to gender neutral terms
This commit is contained in:
parent
7ddfe81749
commit
6a557cf7b9
@ -26,7 +26,7 @@ router.beforeEach(async(to, from, next) => {
|
||||
next({ path: '/' })
|
||||
NProgress.done() // hack: https://github.com/PanJiaChen/vue-element-admin/pull/2939
|
||||
} else {
|
||||
// determine whether the user has obtained his permission roles through getInfo
|
||||
// determine whether the user has obtained their permission roles through getInfo
|
||||
const hasRoles = store.getters.roles && store.getters.roles.length > 0
|
||||
if (hasRoles) {
|
||||
next()
|
||||
|
@ -164,7 +164,7 @@ export default {
|
||||
this.$nextTick(() => {
|
||||
const routes = this.generateRoutes(this.role.routes)
|
||||
this.$refs.tree.setCheckedNodes(this.generateArr(routes))
|
||||
// set checked state of a node not affects its father and child nodes
|
||||
// set checked state of a node not affects its parent and child nodes
|
||||
this.checkStrictly = false
|
||||
})
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user