Skip to content

Commit

Permalink
fix: add uploader into manager
Browse files Browse the repository at this point in the history
  • Loading branch information
IITII committed Sep 29, 2023
1 parent f0880ee commit aa012ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/options/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ export default Vue.extend({
getUserLevelGroup(site: Site) {
let userLevel = site.user?.levelName?.toLowerCase()
let specialNames = {
manager: 'admin,moderator,sys,retire,管理,版主,发种,保种,上传,退休'.split(/[,,]/ig),
manager: 'admin,moderator,sys,retire,uploader,管理,版主,发种,保种,上传,退休'.split(/[,,]/ig),
vip: 'vip,贵宾'.split(/[,,]/ig),
}
specialNames.manager = specialNames.manager.filter(_ => !!_)
Expand Down

0 comments on commit aa012ad

Please sign in to comment.