Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
Add a ping backend button if unable to display the normal app vue
天舟14abfc60dcb1
diff --git a/frontend/src/App.vue b/frontend/src/App.vueindex ae8defbe49..423aa53ae2 100644--- a/frontend/src/App.vue+++ b/frontend/src/App.vue@@ -7,7 +7,15 @@</ProvideContext></template><template #fallback>- <span>Loading...</span>+ <div class="flex flex-col p-4 space-y-4">+ <span>Loading...</span>+ <button+ class="items-center flex justify-center btn-primary"+ @click.prevent="ping"+ >+ Ping+ </button>+ </div></template></Suspense></template>@@ -42,6 +50,20 @@ export default {}return true;});++ const ping = () => {+ store.dispatch("debug/ping").then((message: string) => {+ store.dispatch("notification/pushNotification", {+ module: "bytebase",+ style: "SUCCESS",+ title: message,+ });+ });+ };++ return {+ ping,+ };},};</script>