diff --git a/ui/src/views/model/index.vue b/ui/src/views/model/index.vue
index 35c895d51..abd372696 100644
--- a/ui/src/views/model/index.vue
+++ b/ui/src/views/model/index.vue
@@ -43,7 +43,7 @@
clearable
style="width: 220px"
>
-
+
{
if (route.path.includes('shared')) {
return 'systemShare'
@@ -204,10 +204,11 @@ const list_model = () => {
.getModelList({ ...model_search_form.value, ...params }, list_model_loading)
.then((ok: any) => {
model_list.value = ok.data
- const v = model_list.value.map((m) => ({ id: m.user_id, username: m.username }))
- if (user_options.value.length === 0) {
- user_options.value = Array.from(new Map(v.map((item) => [item.id, item])).values())
- }
+ })
+ loadSharedApi({type: 'workspace', isShared: isShared.value, systemType: apiType.value })
+ .getAllMemberList(user.getWorkspaceId(), loading)
+ .then((res: any) => {
+ user_options.value = res.data
})
}