lowcode-engine icon indicating copy to clipboard operation
lowcode-engine copied to clipboard

为什么在demo-x6里面使用源代码和数据源的插件的时候无法点击呢?

Open yuanAIhan opened this issue 1 year ago • 1 comments

我想在x6-demo里面使用@alilc/lowcode-plugin-code-editor中的CodeEditorPlugin和@alilc/lowcode-plugin-datasource-pane中的DataSourcePanePlugin,但是我按照相似的方式在index.ts注册以后,发现这个注册以后,两个按钮都无法点击,请问这个问题可能是处在哪里呢? image

yuanAIhan avatar Feb 22 '24 10:02 yuanAIhan

请问是不是按照这个注册以后就可以用了吗?还是需要额外新增别的代码在里面去呢? import DataSourcePanePlugin from '@alilc/lowcode-plugin-datasource-pane'; await plugins.register(DataSourcePanePlugin, { importPlugins: [], dataSourceTypes: [ { type: 'fetch', }, { type: 'jsonp', }, ], }); 按照这样的方式添加以后,出现的DataSource的按钮没法点击,请问有人帮忙解答一下吗? 还是在使用graph-x6的demo例子,在这里添加一个数据源请求的方式。

yuanAIhan avatar Feb 23 '24 03:02 yuanAIhan