🐛 [Bug]: 自定义组件有 插槽 在画布不显示

未关闭
#1,803 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
50/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
领域
frontend

调研方向

从 materials/src/components/MyList/src/index.vue 开始,使用 Chrome 在链接的 TinyEngine 项目中重现该问题。比较自定义组件包含 slot 时 canvas 的行为与移除 slot 后的行为。当自定义组件在 canvas 上渲染并保留其 slot 时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

Environment

Google Chrome 版本 147.0.7727.102(正式版本) (64 位)

Version

v22.12.0

Version

latest

Link to minimal reproduction

https://gitee.com/haozhuang/tiny-engine.git

Step to reproduce

materials/src/components/MyList/src/index.vue
自定义组件 有插槽 时 在画布不渲染该组件
去掉插槽 时 组件 可以渲染

What is expected

No response

What is actually happening

No response

What is your project name

TinyEngine

Any additional comments (optional)

No response

主要语言
Vue
星标
2.8k
派生
482
平均合并
14 天 8 小时
30 天内合并 PR
1

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

opentiny/tiny-engine 的其他 Issue

查看 opentiny/tiny-engine 的全部 Issue

相似的 Issue

更多 Web Dev Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。