Skip to content

[Bug Report]: 一安装logicflow2.0就导致开源项目pure-admin里所有hook.tsx文件里的cellRenderer报错 #2309

@laterz

Description

@laterz

发生了什么?

Image

一安装就报错,一卸载就好了,问了所有AI都没解决,实在没办法了,来求大佬看看啦
还一点奇怪的是:虽然VSCODE报语法错误,但是其实pnpm dev和build 都能正常执行和访问?!

我的项目中用到了pure-admin 6+logicflow 2
vue-pure-admin 是一款开源免费且开箱即用的中后台管理系统模版. 也是一个非常热门的前端vue3项目 (https://github.com/pure-admin/vue-pure-admin)
vue-pure-admin-demo里好像有用的logicflow1.0,没有这样的问题。
不知道是哪里的问题,请大佬们看看喽

错误内容:
Type 'Element' is not assignable to type 'string | VNode<RendererNode, RendererElement, { [key: string]: any; }>'.
Type 'VNode' is missing the following properties from type 'VNode<RendererNode, RendererElement, { [key: string]: any; }>': scopeId, children, component, dirs, and 11 more.ts(2322)
table-column.d.ts(113, 20): The expected type comes from the return type of this signature.
Property 'el-image' does not exist on type 'JSX.IntrinsicElements'.ts(2339)
'el-image' cannot be used as a JSX component.
Its type '"el-image"' is not a valid JSX element type.ts(2786)

logicflow/core版本

2.1.3

logicflow/extension版本

2.1.5

logicflow/engine版本

No response

浏览器&环境

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions