From 5b00bfd1c43f979b10918389786b84f838c21d79 Mon Sep 17 00:00:00 2001
From: zhengkunwang <31820853+zhengkunwang223@users.noreply.github.com>
Date: Mon, 4 Sep 2023 15:58:13 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E5=BA=94=E7=94=A8?=
=?UTF-8?q?=E5=AE=89=E8=A3=85=E6=B5=81=E7=A8=8B=20(#2168)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
frontend/src/components/app-status/index.vue | 3 -
frontend/src/views/app-store/apps/index.vue | 78 +++++--
frontend/src/views/app-store/detail/index.vue | 201 +++++++++---------
.../views/app-store/detail/install/index.vue | 56 ++++-
4 files changed, 197 insertions(+), 141 deletions(-)
diff --git a/frontend/src/components/app-status/index.vue b/frontend/src/components/app-status/index.vue
index 513ac2837..23aac8b27 100644
--- a/frontend/src/components/app-status/index.vue
+++ b/frontend/src/components/app-status/index.vue
@@ -136,9 +136,6 @@ const goRouter = async (key: string) => {
const onCheck = async () => {
await CheckAppInstalled(key.value, name.value)
.then((res) => {
- if (res.data.appInstallId === 0) {
- return;
- }
data.value = res.data;
em('isExist', res.data);
operateReq.installId = res.data.appInstallId;
diff --git a/frontend/src/views/app-store/apps/index.vue b/frontend/src/views/app-store/apps/index.vue
index 0acfbebd2..a44839cb8 100644
--- a/frontend/src/views/app-store/apps/index.vue
+++ b/frontend/src/views/app-store/apps/index.vue
@@ -40,7 +40,9 @@
- {{ $t('app.syncAppList') }}
+
+ {{ $t('app.syncAppList') }}
+
@@ -60,12 +62,14 @@
-
-
+
@@ -81,7 +85,7 @@
plain
round
size="small"
- @click="getAppDetail(app.key)"
+ @click="openInstall(app)"
:disabled="app.status === 'TakeDown'"
>
{{ $t('app.install') }}
@@ -124,7 +128,8 @@
-
+
+