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:
wenhua
2024-03-29 06:32:08 +00:00

View File

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