Skip to content

Commit df729da

Browse files
committed
fix(core): 调整安装插件的顺序,如有重名默认优先使用 plugins 中定义的插件
1 parent b1fdbbd commit df729da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/LogicFlow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1319,7 +1319,7 @@ export class LogicFlow {
13191319
([, extension]) => extension,
13201320
)
13211321
// 安装插件,优先使用个性插件
1322-
const extensions = [...this.plugins, ...extensionsAddByUse]
1322+
const extensions = [...extensionsAddByUse, ...this.plugins]
13231323
forEach(extensions, (ext) => {
13241324
let extension: ExtensionConstructor | ExtensionDefinition
13251325
let props: Record<string, any> | undefined

0 commit comments

Comments
 (0)