File tree Expand file tree Collapse file tree 2 files changed +22
-5
lines changed
packages/sqle/src/page/SqlManagementConf/Detail Expand file tree Collapse file tree 2 files changed +22
-5
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import {
18
18
CloseHexagonOutlined ,
19
19
InfoHexagonOutlined
20
20
} from '@actiontech/icons' ;
21
+ import { Typography } from 'antd' ;
21
22
22
23
export const ConfDetailOverviewColumns : (
23
24
projectID : string
@@ -29,7 +30,7 @@ export const ConfDetailOverviewColumns: (
29
30
filterCustomType : 'select' ,
30
31
filterKey : 'filter_audit_plan_type' ,
31
32
render : ( data : IAuditPlanTypeResBase ) => {
32
- return data . desc ?? '-' ;
33
+ return data . desc ? < Typography . Link > { data . desc } </ Typography . Link > : '-' ;
33
34
}
34
35
} ,
35
36
{
Original file line number Diff line number Diff line change @@ -723,7 +723,11 @@ exports[`test SqlManagementConf/Detail/index.tsx should match snapshot 2`] = `
723
723
<td
724
724
class = " ant-table-cell"
725
725
>
726
- 库表元数据
726
+ <a
727
+ class = " ant-typography css-dev-only-do-not-override-bj9uhl"
728
+ >
729
+ 库表元数据
730
+ </a >
727
731
</td >
728
732
<td
729
733
class = " ant-table-cell"
@@ -827,7 +831,11 @@ exports[`test SqlManagementConf/Detail/index.tsx should match snapshot 2`] = `
827
831
<td
828
832
class = " ant-table-cell"
829
833
>
830
- 慢日志
834
+ <a
835
+ class = " ant-typography css-dev-only-do-not-override-bj9uhl"
836
+ >
837
+ 慢日志
838
+ </a >
831
839
</td >
832
840
<td
833
841
class = " ant-table-cell"
@@ -996,7 +1004,11 @@ exports[`test SqlManagementConf/Detail/index.tsx should match snapshot 2`] = `
996
1004
<td
997
1005
class = " ant-table-cell"
998
1006
>
999
- processlist 列表
1007
+ <a
1008
+ class = " ant-typography css-dev-only-do-not-override-bj9uhl"
1009
+ >
1010
+ processlist 列表
1011
+ </a >
1000
1012
</td >
1001
1013
<td
1002
1014
class = " ant-table-cell"
@@ -1100,7 +1112,11 @@ exports[`test SqlManagementConf/Detail/index.tsx should match snapshot 2`] = `
1100
1112
<td
1101
1113
class = " ant-table-cell"
1102
1114
>
1103
- 自定义
1115
+ <a
1116
+ class = " ant-typography css-dev-only-do-not-override-bj9uhl"
1117
+ >
1118
+ 自定义
1119
+ </a >
1104
1120
</td >
1105
1121
<td
1106
1122
class = " ant-table-cell"
You can’t perform that action at this time.
0 commit comments