Skip to content

🐛 [Bug]: 自定义渲染函数中的组件,如果页面没有引入,预览页面和出码页面会存在问题 #1127

@1degrees

Description

@1degrees

Environment

mac 12

Version

node 18.18.0

Version

baranch develop

Link to minimal reproduction

编辑器页面,编辑表格列选项 -> 自定义渲染函数 -> 使用未引入的组件

Image

预览页面,vue因为找不到组件导致渲染报错,因为页面没有import导入

Image

Step to reproduce

拖入表格, 表格列自定义渲染函数, 使用页面未使用过的组件, 预览渲染出错,出码出错,组件未导入

What is expected

渲染函数中组件页面没有导入,正常渲染

What is actually happening

渲染出错, 预览,出码均有问题

What is your project name

项目二开

Any additional comments (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions