gaoluyang
昨天 ed4a24801505e2bd7546bf643f641f3961bec8c1
修复用户昵称搜索和部门树滚动
已修改2个文件
27 ■■■■■ 文件已修改
src/views/system/user/data.ts 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/user/index.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/user/data.ts
@@ -91,15 +91,6 @@
      },
    },
    {
      fieldName: 'nickname',
      label: '用户昵称',
      component: 'Input',
      componentProps: {
        placeholder: '请输入用户昵称',
        allowClear: true,
      },
    },
    {
      fieldName: 'mobile',
      label: '手机号码',
      component: 'Input',
@@ -279,6 +270,15 @@
      },
    },
    {
      fieldName: 'nickname',
      label: '用户昵称',
      component: 'Input',
      componentProps: {
        placeholder: '请输入用户昵称',
        allowClear: true,
      },
    },
    {
      fieldName: 'mobile',
      label: '手机号码',
      component: 'Input',
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>