fix: lefthook config
parent
3a88adb8a6
commit
03fcecadcc
12
lefthook.yml
12
lefthook.yml
|
|
@ -44,18 +44,16 @@
|
||||||
pre-commit:
|
pre-commit:
|
||||||
parallel: true
|
parallel: true
|
||||||
commands:
|
commands:
|
||||||
install:
|
|
||||||
run: pnpm install
|
|
||||||
|
|
||||||
post-merge:
|
|
||||||
commands:
|
|
||||||
install:
|
|
||||||
run: pnpm install
|
|
||||||
lint:
|
lint:
|
||||||
run: pnpm lint
|
run: pnpm lint
|
||||||
checkType:
|
checkType:
|
||||||
run: pnpm check:type
|
run: pnpm check:type
|
||||||
|
|
||||||
|
post-merge:
|
||||||
|
commands:
|
||||||
|
install:
|
||||||
|
run: pnpm install
|
||||||
|
|
||||||
commit-msg:
|
commit-msg:
|
||||||
commands:
|
commands:
|
||||||
commitlint:
|
commitlint:
|
||||||
|
|
|
||||||
|
|
@ -115,7 +115,7 @@ function onDelete(row: SystemMenuApi.SystemMenu) {
|
||||||
<FormDrawer @success="onRefresh" />
|
<FormDrawer @success="onRefresh" />
|
||||||
<Grid>
|
<Grid>
|
||||||
<template #toolbar-tools>
|
<template #toolbar-tools>
|
||||||
<Button type="primary">
|
<Button type="primary" @click="onCreate">
|
||||||
<Plus class="size-5" />
|
<Plus class="size-5" />
|
||||||
{{ $t('ui.actionTitle.create', [$t('system.menu.name')]) }}
|
{{ $t('ui.actionTitle.create', [$t('system.menu.name')]) }}
|
||||||
</Button>
|
</Button>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue