fix: lefthook config

master^2
xingyu4j 2026-05-19 16:13:00 +08:00
parent 3a88adb8a6
commit 03fcecadcc
2 changed files with 6 additions and 8 deletions

View File

@ -44,18 +44,16 @@
pre-commit:
parallel: true
commands:
install:
run: pnpm install
post-merge:
commands:
install:
run: pnpm install
lint:
run: pnpm lint
checkType:
run: pnpm check:type
post-merge:
commands:
install:
run: pnpm install
commit-msg:
commands:
commitlint:

View File

@ -115,7 +115,7 @@ function onDelete(row: SystemMenuApi.SystemMenu) {
<FormDrawer @success="onRefresh" />
<Grid>
<template #toolbar-tools>
<Button type="primary">
<Button type="primary" @click="onCreate">
<Plus class="size-5" />
{{ $t('ui.actionTitle.create', [$t('system.menu.name')]) }}
</Button>