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
4 changes: 2 additions & 2 deletions ui/src/views/system/resource-management/application/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const searchFields = computed(() => [
],
},
])
const selectedStatusType = ref<string[]>([])
const selectedStatusType = ref<boolean | null>(null)
const applicationStatusOptions = computed(() => [
{ value: true, label: '已发布' },
{ value: false, label: '未发布' },
Expand All @@ -56,7 +56,7 @@ function loadApplicationPage() {
return SystemResourceApplicationApi.getApplicationPage(pagination.value, {
...applicationQuery.value,
...(selectedWorkspaceIds.value.length ? { workspace_ids: JSON.stringify(selectedWorkspaceIds.value) } : {}),
status: selectedStatusType.value,
...(selectedStatusType.value !== null ? { status: JSON.stringify([selectedStatusType.value]) } : {}),
})
.then((page) => {
applicationData.value = page.records
Expand Down
Loading