Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions ui/src/views/system/identity/groups/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { onMounted, ref, useTemplateRef } from 'vue'
import WorkspaceApi from '@/api/admin/system/workspace'
import UserGroupsApi from '@/api/admin/system/user-groups'
import type { Dict, OptionItem, WorkspaceItem, SystemUserGroup, SystemUserGroupMember } from '@/api/types'
import type { Dict, OptionItem, WorkspaceItem, SystemUserGroup, SystemUserGroupMember, LoginMethod } from '@/api/types'
import { MsgConfirm, MsgSuccess } from '@/utils/message'
import WorkspaceDropdown from '@/components/business/workspace-dropdown/index.vue'
import MkSearchList from '@/components/mk-search-list/index.vue'
Expand Down Expand Up @@ -253,7 +253,11 @@ onMounted(() => {
<MkTagGroup :tags="row.roles" />
</template>
</el-table-column>
<el-table-column prop="source" label="用户来源" min-width="198" show-overflow-tooltip />
<el-table-column prop="source" label="用户来源" min-width="198" show-overflow-tooltip>
<template #default="{ row }">
{{ row.source === LOGIN_METHOD.LOCAL ? '系统用户' : LOGIN_METHOD_LABELS[row.source as LoginMethod] }}
</template>
</el-table-column>
<el-table-column label="操作" width="70" fixed="right">
<template #default="{ row }">
<!-- 移除成员 -->
Expand Down
Loading