Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
Make BBTable support linkable section header title
天舟94e32e7aa0df
diff --git a/frontend/src/bbkit/BBTable/BBTable.vue b/frontend/src/bbkit/BBTable/BBTable.vueindex 466cc69b09..15462cf37d 100644--- a/frontend/src/bbkit/BBTable/BBTable.vue+++ b/frontend/src/bbkit/BBTable/BBTable.vue@@ -23,7 +23,14 @@:colspan="columnList.length"class="text-left pl-4 pt-4 pb-2 py-text-base leading-6 font-medium text-gray-900">- {{ section.title }}+ <template v-if="section.link">+ <router-link :to="section.link" class="normal-link">+ {{ section.title }}+ </router-link>+ </template>+ <template v-else>+ {{ section.title }}+ </template></th><template v-if="section.list.length > 0"><tr v-if="showHeader" class="bg-gray-50">diff --git a/frontend/src/bbkit/types.ts b/frontend/src/bbkit/types.tsindex 55a0d7225a..fc24cd0176 100644--- a/frontend/src/bbkit/types.ts+++ b/frontend/src/bbkit/types.ts@@ -4,6 +4,7 @@ export type BBTableColumn = {export type BBTableSectionDataSource<T> = {title: string;+ link?: string;list: T[];};