chore: table title改为官方方案

This commit is contained in:
dap
2024-10-25 08:09:53 +08:00
parent 9311dfe25b
commit 938ccd85f8
20 changed files with 23 additions and 95 deletions

View File

@@ -139,16 +139,13 @@ function handleMultiDelete() {
</script>
<template>
<Page :auto-content-height="true" content-class="flex gap-[8px]">
<Page :auto-content-height="true" content-class="flex gap-[8px] w-full">
<DeptTree
v-model:select-dept-id="selectDeptId"
class="w-[260px]"
@select="() => tableApi.query()"
/>
<BasicTable class="flex-1 overflow-hidden">
<template #toolbar-actions>
<span class="pl-[7px] text-[16px]">岗位列表</span>
</template>
<BasicTable class="flex-1 overflow-hidden" table-title="岗位列表">
<template #toolbar-tools>
<Space>
<a-button