1
0

feat(web): 统一页面显示和权限

This commit is contained in:
2024-11-26 10:40:58 +08:00
parent 246e27677e
commit e76236be62
6 changed files with 43 additions and 7 deletions

View File

@@ -1,6 +1,8 @@
import {administratorOnly} from "../../components/constants.js";
export function tabSettings() {
return {
visibleOn: '${role === "ADMINISTRATOR"}',
visibleOn: administratorOnly,
title: '系统管理',
icon: 'fa fa-gear',
body: [