VisActor / VisActor/VTable

[Bug] Vue-VTable 中 customLayout 无法使用 tsx 语法?

Open
#4,195 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
3.7k
Forks
486
Avg merge
1d 19h
Merged PRs (30d)
16

Description

Version

1.19.3

Link to Minimal Reproduction

https://codesandbox.io/p/live/38d47671-3d2a-47ec-924d-d35105e372de

Steps to Reproduce
  1. 直接运行
  2. HelloWorld 中有示例代码
Current Behavior
  1. 只有使用 new 创建的组件才能渲染,任何使用 tsx 语法的都无法渲染
  2. 下面有一个 Test 的 tsx 组件,页面是可以渲染的
Expected Behavior

可以使用 tsx 语法渲染

Environment
- OS:
- Browser:
- Framework:
Any additional comments?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked CodeSandbox reproduction and the HelloWorld example. Compare how customLayout renders the component created with new against the Test TSX component, then trace the corresponding rendering entry point. Done means a TSX component can render through customLayout as shown by the reproduction.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.