代码格式化: prettier --write 统一代码风格
39 个文件按 .prettierrc.json (printWidth 100 / no semi / singleQuote) 统一格式, 纯空白与换行调整, 无逻辑变更。为接入代码门禁做准备, 让 npm run check (format:check + lint:strict + typecheck) 干净通过。
This commit is contained in:
@@ -117,9 +117,19 @@ const allNavGroups: NavGroup[] = [
|
||||
icon: Document,
|
||||
permission: 'wallet:view',
|
||||
},
|
||||
{ label: '资金流水', to: adminPath('wallet-ledger'), icon: Wallet, permission: 'wallet:view' },
|
||||
{
|
||||
label: '资金流水',
|
||||
to: adminPath('wallet-ledger'),
|
||||
icon: Wallet,
|
||||
permission: 'wallet:view',
|
||||
},
|
||||
{ label: '支付流水', to: adminPath('payments'), icon: CreditCard, permission: 'wallet:view' },
|
||||
{ label: '提现审核', to: adminPath('withdrawals'), icon: Money, permission: 'withdrawal:list' },
|
||||
{
|
||||
label: '提现审核',
|
||||
to: adminPath('withdrawals'),
|
||||
icon: Money,
|
||||
permission: 'withdrawal:list',
|
||||
},
|
||||
{
|
||||
label: '支付配置',
|
||||
to: adminPath('payment-configs'),
|
||||
@@ -152,7 +162,12 @@ const allNavGroups: NavGroup[] = [
|
||||
index: 'system-auth',
|
||||
icon: Lock,
|
||||
children: [
|
||||
{ label: '审计日志', to: adminPath('audit-logs'), icon: Document, permission: 'audit_log:view' },
|
||||
{
|
||||
label: '审计日志',
|
||||
to: adminPath('audit-logs'),
|
||||
icon: Document,
|
||||
permission: 'audit_log:view',
|
||||
},
|
||||
{
|
||||
label: '管理员管理',
|
||||
to: adminPath('admin-users'),
|
||||
|
||||
Reference in New Issue
Block a user