From 23babbd77335e5a980ae411e772489a25b496360 Mon Sep 17 00:00:00 2001 From: zhengkunwang223 Date: Wed, 22 Feb 2023 19:19:10 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=9B=E5=BB=BA=E7=BD=91=E7=AB=99?= =?UTF-8?q?=E8=BF=87=E6=BB=A4=E7=94=A8=E8=BF=87=E7=9A=84APP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/api/interface/app.ts | 1 + frontend/src/views/website/website/create/index.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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;