Browse Source

fix: lefthook config

pull/7929/head
xingyu4j 4 months ago
parent
commit
03fcecadcc
  1. 10
      lefthook.yml
  2. 2
      playground/src/views/system/menu/list.vue

10
lefthook.yml

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

2
playground/src/views/system/menu/list.vue

@ -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>

Loading…
Cancel
Save