1
0
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:
inclusive-coding-bot 2022-03-31 01:11:11 -04:00
parent 7ddfe81749
commit 6a557cf7b9
2 changed files with 2 additions and 2 deletions

View File

@ -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()

View File

@ -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
})
},