diff --git a/backend/app/service/app_install.go b/backend/app/service/app_install.go index b75ce806c..6473aea0f 100644 --- a/backend/app/service/app_install.go +++ b/backend/app/service/app_install.go @@ -145,7 +145,7 @@ func (a *AppInstallService) CheckExist(req request.AppInstalledInfo) (*response. if len(req.Name) == 0 { appInstall, _ = appInstallRepo.GetFirst(appInstallRepo.WithAppId(app.ID)) } else { - appInstall, _ = appInstallRepo.GetFirst(commonRepo.WithByName(req.Name)) + appInstall, _ = appInstallRepo.GetFirst(appInstallRepo.WithAppId(app.ID), commonRepo.WithByName(req.Name)) } if reflect.DeepEqual(appInstall, model.AppInstall{}) { diff --git a/frontend/src/views/database/mysql/index.vue b/frontend/src/views/database/mysql/index.vue index c729d4f62..5ff82e399 100644 --- a/frontend/src/views/database/mysql/index.vue +++ b/frontend/src/views/database/mysql/index.vue @@ -10,7 +10,7 @@ - +