Skip to content

Commit 11905db

Browse files
committed
修正boolean类型默认值不显示问题
1 parent 4bba848 commit 11905db

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/views/apiDetail/tableTab.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,10 @@ export default defineComponent({
154154
dataIndex: "default",
155155
align: "center",
156156
width: 100,
157+
customRender: (e: any) => {
158+
const { text } = e;
159+
return text ? `${text}` : "";
160+
},
157161
},
158162
{
159163
title: t("common.desc"),

0 commit comments

Comments
 (0)