Merge pull request 'master' (#51) from master into prod

Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/51
This commit is contained in:
wenhua
2024-03-29 06:32:25 +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({