2019年4月16日 该问题依然存在 如此恶性的一个bug 但就是没人管
slot无法挂载到组件根节点组件代码 [代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]'filter-mask'[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]slot[代码] [代码]name[代码][代码]=[代码][代码]'company'[代码][代码]></[代码][代码]slot[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]slot[代码] [代码]name[代码][代码]=[代码][代码]'performance'[代码][代码]></[代码][代码]slot[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]slot[代码] [代码]name[代码][代码]=[代码][代码]'scale'[代码][代码]></[代码][代码]slot[代码][代码]>[代码][代码]</[代码][代码]view[代码][代码]>[代码]页面引用代码 [代码]<[代码][代码]filter-mask[代码] [代码]catch:pickup[代码][代码]=[代码][代码]'pickup'[代码] [代码]class[代码][代码]=[代码][代码]'filter-mask {{!!tapType ? "": "none" }}'[代码] [代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]'filter-mask-company-content'[代码] [代码]slot[代码][代码]=[代码][代码]'company'[代码][代码]>[代码][代码] [代码] [代码] [代码][代码]</[代码][代码]view[代码][代码]> [代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]'filter-mask-performance-content'[代码] [代码]slot[代码][代码]=[代码][代码]'performance'[代码][代码]>[代码][代码] [代码] [代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]'filter-mask-scale-content'[代码] [代码]slot[代码][代码]=[代码][代码]'scale'[代码][代码]>[代码][代码] [代码] [代码] [代码][代码]</[代码][代码]view[代码][代码]> [代码][代码] [代码][代码]</[代码][代码]filter-mask[代码][代码]>[代码]实际生成的DOM结构如下 [图片] 为何slot的结构没有插入到箭头所指的位置
2019-04-16