diff --git a/doc/plugin_event_list.md b/doc/plugin_event_list.md index 0f5ee225..c7f9e059 100644 --- a/doc/plugin_event_list.md +++ b/doc/plugin_event_list.md @@ -82,6 +82,7 @@ myPlugin.on('addTopBar', function(callback) { } } }); + callback(btnList); }); ``` diff --git a/doc/plugin_event_list_CN.md b/doc/plugin_event_list_CN.md index b03dc0d7..feb89410 100644 --- a/doc/plugin_event_list_CN.md +++ b/doc/plugin_event_list_CN.md @@ -90,6 +90,7 @@ myPlugin.on('addTopBar', function(callback) { } } }); + callback(btnList); }); ```