Merge pull request 'fix: 修复role新增编辑bug' (#50) from role into master
Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/50
This commit is contained in:
@@ -115,7 +115,7 @@ const schame = computed(()=>{
|
||||
}
|
||||
},
|
||||
]
|
||||
return !authStore.roles.includes('superAdmin') ? arr.slice(-1) : arr
|
||||
return !authStore.roles.includes('superAdmin') ? arr.slice(0, arr.length - 1) : arr
|
||||
})
|
||||
|
||||
const rules = reactive({
|
||||
|
||||
Reference in New Issue
Block a user