fix: 左边部门树错误emit导致会调用两次列表api

This commit is contained in:
dap
2024-11-26 20:25:48 +08:00
parent 593ed62585
commit 4b98a143c7
4 changed files with 23 additions and 7 deletions

View File

@@ -202,7 +202,8 @@ const { hasAccessByCodes } = useAccess();
<DeptTree
v-model:select-dept-id="selectDeptId"
class="w-[260px]"
@select="() => tableApi.query()"
@reload="() => tableApi.reload()"
@select="() => tableApi.reload()"
/>
<BasicTable class="flex-1 overflow-hidden" table-title="用户列表">
<template #toolbar-tools>