diff --git a/astrbot/core/zip_updator.py b/astrbot/core/zip_updator.py index 23ff3ba76..7a27c1940 100644 --- a/astrbot/core/zip_updator.py +++ b/astrbot/core/zip_updator.py @@ -56,7 +56,6 @@ class RepoZipUpdator: raise Exception(f"请求失败,状态码: {response.status}") result = await response.json() if not result: - logger.error("返回空的结果") return [] # if latest: # ret = self.github_api_release_parser([result[0]]) diff --git a/dashboard/src/views/ExtensionMarketplace.vue b/dashboard/src/views/ExtensionMarketplace.vue index 959439375..3dfaea0d7 100644 --- a/dashboard/src/views/ExtensionMarketplace.vue +++ b/dashboard/src/views/ExtensionMarketplace.vue @@ -357,6 +357,7 @@ export default { this.upload_file = ""; this.onLoadingDialogResult(1, res.data.message); this.dialog = false; + this.getExtensions(); // this.$refs.wfr.check(); }).catch((err) => { this.loading_ = false; @@ -380,6 +381,7 @@ export default { this.extension_url = ""; this.onLoadingDialogResult(1, res.data.message); this.dialog = false; + this.getExtensions(); // this.$refs.wfr.check(); }).catch((err) => { this.loading_ = false;