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 }}