Closed SeaWaveW closed 11 months ago
本地跑了一下,是有 el-table 的。
本地跑了一下,是有 el-table 的。
收到启发,原来问题出在ref上,不能定义与组件name同样的ref。 铁汁🐮🍺
@SeaWaveW 老哥,你出现过开发没问题,打包之后部分 element-ui 的组件没生效(比如 el-input 或者 el-select 不渲染)的问题吗?
示例仓库:https://github.com/shihongxins/vite-vue2-element-ui
截图:
开发时
打包后
Describe the bug
这是封装的代码块 ↓
但实际上是pagination显示,其中的table不显示
![image](https://github.com/antfu/unplugin-vue-components/assets/59683106/80350666-0d0c-4c30-adcd-e800abd3790f)
Reproduction
https://github.com/SeaWaveW/issuse.git
System Info
Used Package Manager
npm
Validations