refactor: 重构client-drawer

This commit is contained in:
dap
2024-09-23 08:38:55 +08:00
parent b13fafdaf5
commit 1f78061ec9
2 changed files with 47 additions and 47 deletions

View File

@@ -1,5 +1,6 @@
<script setup lang="ts">
import { Page, useVbenDrawer } from '@vben/common-ui';
import { $t } from '@vben/locales';
import clientDrawer from './client-drawer.vue';
@@ -15,7 +16,9 @@ function handleAdd() {
<template>
<Page>
<a-button type="primary" @click="handleAdd">add</a-button>
<a-button type="primary" @click="handleAdd">
{{ $t('pages.common.add') }}
</a-button>
<ClientDrawer />
</Page>
</template>