diff --git a/frontend/src/views/database/mysql/index.vue b/frontend/src/views/database/mysql/index.vue
index 58ca5abeb..5b2a8029d 100644
--- a/frontend/src/views/database/mysql/index.vue
+++ b/frontend/src/views/database/mysql/index.vue
@@ -25,7 +25,7 @@
{{ $t('commons.table.type') }}
-
+
+
+ {{ $t('database.goInstall') }}
+
-
+
+
+ {{ $t('database.createRemoteDB') }}
+
@@ -156,7 +162,7 @@
{{ $t('app.checkInstalledWarn', [$t('database.noMysql')]) }}
-
+
{{ $t('database.goInstall') }}
@@ -354,8 +360,12 @@ const loadDB = async () => {
});
};
-const goRouter = async () => {
- router.push({ name: 'AppAll', query: { install: 'mysql' } });
+const goRouter = async (target: string) => {
+ if (target === 'app') {
+ router.push({ name: 'AppAll', query: { install: 'mysql' } });
+ return;
+ }
+ router.push({ name: 'MySQL-Remote' });
};
const onChange = async (info: any) => {
@@ -529,4 +539,9 @@ onMounted(() => {
margin-left: 5px;
margin-top: 3px;
}
+.jumpAdd {
+ margin-top: 10px;
+ margin-left: 15px;
+ font-size: 12px;
+}