src/views/system/user/index.vue
@@ -198,9 +198,14 @@ <!-- 左侧部门树 --> <Card class="mr-4 flex h-full min-h-0 w-64 shrink-0 flex-col overflow-hidden" :body-style="{ minHeight: 0, overflow: 'hidden', padding: '16px' }" :body-style="{ height: '100%', minHeight: 0, overflow: 'hidden', padding: '16px', }" > <div class="min-h-0 flex-1 overflow-y-auto"> <div class="h-full min-h-0 overflow-y-auto"> <DeptTreeSelect @select="handleDeptSelect" /> </div> </Card>