feat: 为代码编辑插件增加了更多的语言支持,修复了一些bug,样式还没写。
This commit is contained in:
1 parent
86b3a02237
commit
ef5a8f1a9e
7 files changed
+275
-18
No files matched your search
@@ -20,7 +20,6 @@ export default class PluginCenter {
|
||||
|
||||
register(key: string, plugin: plugin) {
|
||||
this.pluginsMap[key] = plugin
|
||||
console.log(this.pluginsMap)
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -29,7 +28,7 @@ export default class PluginCenter {
|
||||
registerComponent(
|
||||
key: string,
|
||||
name: string,
|
||||
getComponent: () => any,
|
||||
getComponent: () => Promise<any>,
|
||||
filter: (
|
||||
VDirectorys: VirtualDirectory[],
|
||||
VFiles: VirtualFile[]
|
||||
|
||||
Reference in new issue
Block a user