Skip to content

Using vite (reference on demand) Table component to customize cells does not take effect #5598

@luyu911

Description

@luyu911
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.2.3

Environment

"vue": "^3.2.25", "vite": "^2.9.7"

Reproduction link

https://github.com/luyu911/table_demo

Steps to reproduce

https://codesandbox.io/s/table-demo-ylifne

What is expected?

自定义单元格

What is actually happening?

slot似乎没有起到效果


我在使用Vite Vue3实现自定义单元格,但是结果似乎不太妙,slot好像没有起到任何效果,在没有使用Vite的简单Demo中,没有出现异常。
问题似乎在Vite的设置上?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions