fix: lefthook config
This commit is contained in:
12
lefthook.yml
12
lefthook.yml
@@ -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:
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user