Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix: add test log

shuai7dfdf4d7e423
diff --git a/ui/src/components/PluginRender/index.tsx b/ui/src/components/PluginRender/index.tsx
index b3a8efb8..99792c35 100644
--- a/ui/src/components/PluginRender/index.tsx
+++ b/ui/src/components/PluginRender/index.tsx
@@ -29,7 +29,9 @@ const Index: FC<Props> = ({
const pluginSlice: Plugin[] = [];
const plugins = PluginKit.getPlugins().filter((plugin) => plugin.activated);
+ console.log('default list', plugins);
plugins.forEach((plugin) => {
+ console.log('plugininfo ====', plugin);
if (type && slug_name) {
if (plugin.info.slug_name === slug_name && plugin.info.type === type) {
pluginSlice.push(plugin);
@@ -49,7 +51,7 @@ const Index: FC<Props> = ({
* TODO: Rendering control for non-builtin plug-ins
* ps: Logic such as version compatibility determination can be placed here
*/
-
+ console.log('plugininfo ====', 111);
if (pluginSlice.length === 0) {
if (type === 'editor') {
return <div className={className}>{children}</div>;