diff --git a/backend/utils/mysql/client/local.go b/backend/utils/mysql/client/local.go
index 54ed43b6..0b3aa591 100644
--- a/backend/utils/mysql/client/local.go
+++ b/backend/utils/mysql/client/local.go
@@ -179,6 +179,7 @@ func (r *Local) ChangeAccess(info AccessChangeInfo) error {
if info.Username == "root" {
info.OldPermission = "%"
info.Name = "*"
+ info.Password = r.Password
}
if info.Permission != info.OldPermission {
if err := r.Delete(DeleteInfo{
diff --git a/backend/utils/mysql/client/remote.go b/backend/utils/mysql/client/remote.go
index 6ae7b71a..131dff80 100644
--- a/backend/utils/mysql/client/remote.go
+++ b/backend/utils/mysql/client/remote.go
@@ -180,6 +180,7 @@ func (r *Remote) ChangeAccess(info AccessChangeInfo) error {
if info.Username == "root" {
info.OldPermission = "%"
info.Name = "*"
+ info.Password = r.Password
}
if info.Permission != info.OldPermission {
if err := r.Delete(DeleteInfo{
diff --git a/frontend/src/components/app-status/index.vue b/frontend/src/components/app-status/index.vue
index e5ef6540..37ec0825 100644
--- a/frontend/src/components/app-status/index.vue
+++ b/frontend/src/components/app-status/index.vue
@@ -106,11 +106,17 @@ const goRouter = async (key: string) => {
};
const onCheck = async () => {
- const res = await CheckAppInstalled(key.value);
- data.value = res.data;
- em('isExist', res.data);
- operateReq.installId = res.data.appInstallId;
- refresh.value++;
+ await CheckAppInstalled(key.value)
+ .then((res) => {
+ data.value = res.data;
+ em('isExist', res.data);
+ operateReq.installId = res.data.appInstallId;
+ refresh.value++;
+ })
+ .catch(() => {
+ em('isExist', false);
+ refresh.value++;
+ });
};
const onOperate = async (operation: string) => {
diff --git a/frontend/src/components/backup/index.vue b/frontend/src/components/backup/index.vue
index 06728b23..787a01b5 100644
--- a/frontend/src/components/backup/index.vue
+++ b/frontend/src/components/backup/index.vue
@@ -41,7 +41,7 @@
show-overflow-tooltip
/>
-
+
diff --git a/frontend/src/components/upload/index.vue b/frontend/src/components/upload/index.vue
index 94267da5..ddc2900f 100644
--- a/frontend/src/components/upload/index.vue
+++ b/frontend/src/components/upload/index.vue
@@ -60,13 +60,13 @@
{{ computeSize(row.size) }}
-
+
{{ row.createdAt }}
{{ $t('database.create') }}
-
+
{{ $t('database.databaseConnInfo') }}