-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在表格中用 h 渲染函数 怎么写较复杂的表格,比如左边商品图片右边文字描述。 #2980
Labels
feature request
New feature or request
Comments
封装成一个组件然后放进 render 函数。 或者自己加封装一个 slots 的 table,类似于(别人写的,我直接粘过来的,原理是这样):
加插槽的问题之前的 issue 也提过,暂时不会加。用其他的框架也没问题,符合自己的实际场景就好了。 |
ref #216 |
我上面的第一种方法举例来说,比如左边商品右边描述
|
明白了,我试试,感谢 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This function solves the problem (这个功能解决的问题)
强烈建议把 渲染函数换成 插槽的形式,后管系统太多表格了,用渲染函数 太麻烦了,体验非常不好,如果说没有打算使用插槽的话那就只能在前期换其他UI框架了
Expected API (期望的 API)
类似于 element antd
The text was updated successfully, but these errors were encountered: