diff --git a/backend/app/repo/app.go b/backend/app/repo/app.go
index e1d997017..020b343f7 100644
--- a/backend/app/repo/app.go
+++ b/backend/app/repo/app.go
@@ -39,7 +39,7 @@ func (a AppRepo) Page(page, size int, opts ...DBOption) (int64, []model.App, err
db := getDb(opts...).Model(&model.App{})
count := int64(0)
db = db.Count(&count)
- err := db.Debug().Limit(size).Offset(size * (page - 1)).Preload("AppTags").Find(&apps).Error
+ err := db.Limit(size).Offset(size * (page - 1)).Preload("AppTags").Find(&apps).Error
return count, apps, err
}
diff --git a/backend/app/repo/app_install.go b/backend/app/repo/app_install.go
index d68821bc1..c5e0f6990 100644
--- a/backend/app/repo/app_install.go
+++ b/backend/app/repo/app_install.go
@@ -99,7 +99,7 @@ func (a *AppInstallRepo) Page(page, size int, opts ...DBOption) (int64, []model.
db := getDb(opts...).Model(&model.AppInstall{})
count := int64(0)
db = db.Count(&count)
- err := db.Debug().Limit(size).Offset(size * (page - 1)).Preload("App").Preload("Backups").Find(&apps).Error
+ err := db.Limit(size).Offset(size * (page - 1)).Preload("App").Preload("Backups").Find(&apps).Error
return count, apps, err
}
@@ -108,7 +108,7 @@ func (a *AppInstallRepo) BatchUpdateBy(maps map[string]interface{}, opts ...DBOp
if len(opts) == 0 {
db = db.Where("1=1")
}
- return db.Debug().Updates(&maps).Error
+ return db.Updates(&maps).Error
}
type RootInfo struct {
diff --git a/backend/app/repo/backup.go b/backend/app/repo/backup.go
index a8e3bec0d..498227e57 100644
--- a/backend/app/repo/backup.go
+++ b/backend/app/repo/backup.go
@@ -42,7 +42,7 @@ func (u *BackupRepo) ListRecord(opts ...DBOption) ([]model.BackupRecord, error)
for _, opt := range opts {
db = opt(db)
}
- err := db.Debug().Find(&users).Error
+ err := db.Find(&users).Error
return users, err
}
diff --git a/backend/app/repo/website.go b/backend/app/repo/website.go
index 54be5eb41..7b1e88d94 100644
--- a/backend/app/repo/website.go
+++ b/backend/app/repo/website.go
@@ -72,7 +72,7 @@ func (w *WebsiteRepo) Page(page, size int, opts ...DBOption) (int64, []model.Web
db := getDb(opts...).Model(&model.Website{})
count := int64(0)
db = db.Count(&count)
- err := db.Debug().Limit(size).Offset(size * (page - 1)).Preload("WebsiteSSL").Find(&websites).Error
+ err := db.Limit(size).Offset(size * (page - 1)).Preload("WebsiteSSL").Find(&websites).Error
return count, websites, err
}
diff --git a/backend/app/repo/website_acme_account.go b/backend/app/repo/website_acme_account.go
index 27fba9672..0ec2e0478 100644
--- a/backend/app/repo/website_acme_account.go
+++ b/backend/app/repo/website_acme_account.go
@@ -22,7 +22,7 @@ func (w *WebsiteAcmeAccountRepo) Page(page, size int, opts ...DBOption) (int64,
db := getDb(opts...).Model(&model.WebsiteAcmeAccount{})
count := int64(0)
db = db.Count(&count)
- err := db.Debug().Limit(size).Offset(size * (page - 1)).Find(&accounts).Error
+ err := db.Limit(size).Offset(size * (page - 1)).Find(&accounts).Error
return count, accounts, err
}
diff --git a/backend/app/repo/website_dns_account.go b/backend/app/repo/website_dns_account.go
index 51125e1ac..f062edf4e 100644
--- a/backend/app/repo/website_dns_account.go
+++ b/backend/app/repo/website_dns_account.go
@@ -12,7 +12,7 @@ func (w WebsiteDnsAccountRepo) Page(page, size int, opts ...DBOption) (int64, []
db := getDb(opts...).Model(&model.WebsiteDnsAccount{})
count := int64(0)
db = db.Count(&count)
- err := db.Debug().Limit(size).Offset(size * (page - 1)).Find(&accounts).Error
+ err := db.Limit(size).Offset(size * (page - 1)).Find(&accounts).Error
return count, accounts, err
}
diff --git a/backend/app/repo/website_domain.go b/backend/app/repo/website_domain.go
index 46c639294..34612451b 100644
--- a/backend/app/repo/website_domain.go
+++ b/backend/app/repo/website_domain.go
@@ -31,7 +31,7 @@ func (w WebsiteDomainRepo) Page(page, size int, opts ...DBOption) (int64, []mode
db := getDb(opts...).Model(&model.WebsiteDomain{})
count := int64(0)
db = db.Count(&count)
- err := db.Debug().Limit(size).Offset(size * (page - 1)).Find(&domains).Error
+ err := db.Limit(size).Offset(size * (page - 1)).Find(&domains).Error
return count, domains, err
}
diff --git a/frontend/src/views/host/file-management/index.vue b/frontend/src/views/host/file-management/index.vue
index c0f4b28cd..bc8dddb6d 100644
--- a/frontend/src/views/host/file-management/index.vue
+++ b/frontend/src/views/host/file-management/index.vue
@@ -15,7 +15,7 @@
-
+
>
{{ item.name }}
@@ -497,8 +497,12 @@ onMounted(() => {
border-radius: 2px !important;
.root {
+ vertical-align: middle;
margin-left: 10px;
}
+ .other {
+ vertical-align: middle;
+ }
.split {
margin-left: 5px;
margin-right: 5px;