From 19797243f68d60480ddfe94770734bbb2105f41f Mon Sep 17 00:00:00 2001
From: Soulter <905617992@qq.com>
Date: Wed, 29 Jan 2025 19:56:09 +0800
Subject: [PATCH] =?UTF-8?q?perf:=20=E5=A2=9E=E5=8A=A0=E6=8F=92=E4=BB=B6?=
=?UTF-8?q?=E9=93=BE=E6=8E=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
astrbot/core/star/context.py | 3 ---
astrbot/dashboard/routes/update.py | 1 +
dashboard/src/views/ExtensionPage.vue | 6 ++++++
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/astrbot/core/star/context.py b/astrbot/core/star/context.py
index ea3ad13ed..9dfb7bf5d 100644
--- a/astrbot/core/star/context.py
+++ b/astrbot/core/star/context.py
@@ -165,9 +165,6 @@ class Context:
return True
return False
- async def sync_plugin_config(self, config_path: str, default_config: dict):
- pass
-
'''
以下的方法已经不推荐使用。请从 AstrBot 文档查看更好的注册方式。
'''
diff --git a/astrbot/dashboard/routes/update.py b/astrbot/dashboard/routes/update.py
index 17dd947b2..788eca48c 100644
--- a/astrbot/dashboard/routes/update.py
+++ b/astrbot/dashboard/routes/update.py
@@ -1,4 +1,5 @@
import traceback
+import aiohttp
from .route import Route, Response, RouteContext
from quart import request
from astrbot.core.core_lifecycle import AstrBotCoreLifecycle
diff --git a/dashboard/src/views/ExtensionPage.vue b/dashboard/src/views/ExtensionPage.vue
index d2c732443..4070a7429 100644
--- a/dashboard/src/views/ExtensionPage.vue
+++ b/dashboard/src/views/ExtensionPage.vue
@@ -52,6 +52,12 @@ import axios from 'axios';
已安装
+
+
+
+
+ 插件开发文档 |
+ 提交插件仓库