diff --git a/frontend/src/api/interface/app.ts b/frontend/src/api/interface/app.ts index 3d6b4cdd4..2f36cf2cf 100644 --- a/frontend/src/api/interface/app.ts +++ b/frontend/src/api/interface/app.ts @@ -117,6 +117,7 @@ export namespace App { export interface AppInstalledSearch { type: string; + unused?: boolean; } export interface AppService { diff --git a/frontend/src/views/website/website/create/index.vue b/frontend/src/views/website/website/create/index.vue index b96de0bbc..d8e006ddf 100644 --- a/frontend/src/views/website/website/create/index.vue +++ b/frontend/src/views/website/website/create/index.vue @@ -258,7 +258,7 @@ const handleClose = () => { }; const searchAppInstalled = () => { - GetAppInstalled({ type: 'website' }).then((res) => { + GetAppInstalled({ type: 'website', unused: true }).then((res) => { appInstalles.value = res.data; if (res.data.length > 0) { website.value.appInstallId = res.data[0].id;