From 9ec44d6f97cad9d125e338bcde73aa84028445ed Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Mon, 3 Mar 2025 11:22:50 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=B7=BB=E5=8A=A0=E6=8F=92=E4=BB=B6?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E5=8F=8D=E9=A6=88=E6=8F=90=E7=A4=BA=EF=BC=8C?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=B9=B3=E5=8F=B0=E5=92=8C=E6=8F=90=E4=BE=9B?= =?UTF-8?q?=E8=80=85=E5=8D=A1=E7=89=87=E9=AB=98=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dashboard/src/views/ExtensionMarketplace.vue | 3 ++- dashboard/src/views/PlatformPage.vue | 2 +- dashboard/src/views/ProviderPage.vue | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dashboard/src/views/ExtensionMarketplace.vue b/dashboard/src/views/ExtensionMarketplace.vue index 14e38d289..fa7dae3d8 100644 --- a/dashboard/src/views/ExtensionMarketplace.vue +++ b/dashboard/src/views/ExtensionMarketplace.vue @@ -351,6 +351,7 @@ export default { proxy: localStorage.getItem('selectedGitHubProxy') || "" }).then((res) => { this.loading_ = false; + this.toast(res.data.message, res.data.status === "ok" ? "success" : "error"); if (res.data.status === "error") { this.onLoadingDialogResult(2, res.data.message, -1); return; @@ -362,9 +363,9 @@ export default { this.$refs.wfr.check(); }).catch((err) => { this.loading_ = false; + this.toast("安装插件失败: " + err, "error"); this.onLoadingDialogResult(2, err, -1); }); - } }, checkAlreadyInstalled() { diff --git a/dashboard/src/views/PlatformPage.vue b/dashboard/src/views/PlatformPage.vue index ad3792325..f93ab25ea 100644 --- a/dashboard/src/views/PlatformPage.vue +++ b/dashboard/src/views/PlatformPage.vue @@ -23,7 +23,7 @@ + style="margin-bottom: 16px; min-height: 250px; max-height: 250px; display: flex; justify-content: space-between; flex-direction: column;"> {{ platform.id }} - + {{ provider.id }}