!141 update applications/extensions/__init__.py.
Merge pull request !141 from laoknas/N/A
This commit is contained in:
@@ -12,7 +12,7 @@ from .init_plugins import register_plugin, broadcast_execute
|
|||||||
|
|
||||||
|
|
||||||
def init_plugs(app: Flask) -> None:
|
def init_plugs(app: Flask) -> None:
|
||||||
# 注册插件
|
# 注册插件a
|
||||||
register_plugin(app)
|
register_plugin(app)
|
||||||
broadcast_execute(app, 'event_begin')
|
broadcast_execute(app, 'event_begin')
|
||||||
|
|
||||||
@@ -28,3 +28,7 @@ def init_plugs(app: Flask) -> None:
|
|||||||
# 系统蓝图相关
|
# 系统蓝图相关
|
||||||
init_template_directives(app)
|
init_template_directives(app)
|
||||||
init_error_views(app)
|
init_error_views(app)
|
||||||
|
|
||||||
|
# 初始化插件
|
||||||
|
broadcast_execute(app, 'event_init')
|
||||||
|
broadcast_execute(app, 'event_finish')
|
||||||
|
|||||||
Reference in New Issue
Block a user