[Bug] Vue-VTable 中 customLayout 无法使用 tsx 语法?
Open
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
- 直接运行
- HelloWorld 中有示例代码
Current Behavior
- 只有使用 new 创建的组件才能渲染,任何使用 tsx 语法的都无法渲染
- 下面有一个 Test 的 tsx 组件,页面是可以渲染的
Expected Behavior
可以使用 tsx 语法渲染
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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