Skip to content

Commit 2b1e4b7

Browse files
feat(TAP-10838):When the created connection is invalid, using this connection to create an API will result in the unsuccessful publishing of all APIs
1 parent 4748ab3 commit 2b1e4b7

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

packages/business/src/views/data-server/Debug.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@ const debugData = async () => {
197197
filterInfo.limit = Number(params?.limit || 20)
198198
//@ts-ignore
199199
filterInfo.page = Number(params?.page || 1)
200-
filterInfo.fields = params.fields ? JSON.parse(params.fields) : []
201200
//@ts-ignore
202201
queryBody.body = filterInfo
203202
//@ts-ignore

packages/business/src/views/data-server/List.vue

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -758,9 +758,20 @@ defineExpose({
758758
:min-width="110"
759759
>
760760
<template #default="{ row }">
761-
<span class="status-block" :class="`status-${row.status}`">{{
762-
row.statusFmt
763-
}}</span>
761+
<div class="flex align-center gap-1">
762+
<span class="status-block" :class="`status-${row.status}`">{{
763+
row.statusFmt
764+
}}</span>
765+
<el-tooltip
766+
v-if="row.status === 'active' && row.publishStatus"
767+
:content="row.publishStatus"
768+
placement="top"
769+
>
770+
<el-icon class="color-warning cursor-pointer">
771+
<i-mingcute-alert-line />
772+
</el-icon>
773+
</el-tooltip>
774+
</div>
764775
</template>
765776
</el-table-column>
766777
<template v-if="!inAppList">

0 commit comments

Comments
 (0)