-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
table可伸缩列 #2269
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
Comments
在ant-design-vue-pro基础开发,有谁知道需要什么依赖包及配置。。。 |
issue #1870 |
所以是 依赖包的问题 ? |
暂时没确定问题,在codesandbox中代码相同可以执行,本地vue-antd-pro基础上 vue,ant-design-vue ,vue-draggable-resizable 版本都相同执行不成功,所以感觉可能是其他依赖或配置影响的 |
render函数中const ResizeableTitle = ({ props, children }) => {这样就行了 |
我是改成{ props, children }可以了,但是表头无法拖动,这是什么原因? |
@herosPan 请问你的解决了吗,我的加了这代码还是无法 拖动 |
引入import 'vue-draggable-resizable/dist/VueDraggableResizable.css'样式后你看看你的有没有问题, |
@Booom007 用你这个方法 是可以了,但是排序又没有用了,算了,我这先不弄可伸缩了 |
已解决,resizeableTitle改为驼峰模式就不报错了,之前是首字母大写的ResizeableTitle,不知是不是load版本的问题
|
不能拖动的问题已解决。在.table-draggable-handle里加上 transform: none !important; position: absolute; 即可。ResizeableTitle改成resizeableTitle。 |
老哥稳 |
推荐使用vxe-table
…------------------ 原始邮件 ------------------
发件人: "vueComponent/ant-design-vue" <[email protected]>;
发送时间: 2020年12月7日(星期一) 下午5:09
收件人: "vueComponent/ant-design-vue"<[email protected]>;
抄送: "Boooom"<[email protected]>;"Mention"<[email protected]>;
主题: Re: [vueComponent/ant-design-vue] table可伸缩列 (#2269)
@herosPan 请问你的解决了吗,我的加了这代码还是无法 拖动
不能拖动的问题已解决。在.table-draggable-handle里加上 transform: none !important; position: absolute; 即可。ResizeableTitle改成resizeableTitle。
老哥稳
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
但是row-selection="{ |
try 3.0 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Version
1.6.0
Environment
window10 ,google版本 75.0.3770.142 vue2.6.10,ant-design-vue 1.6,vue-draggable-resizable 2.1.0
Reproduction link
https://github.com/vueComponent/ant-design-vue-pro
Steps to reproduce
https://codesandbox.io/s/competent-wildflower-ghr24?file=/src/App.vue codesandbox中没有报错但vue-draggable-resizable版本升到2.1.0以上会有问题;我本地程序会报以下错误
What is expected?
查找问题及调整
What is actually happening?
我本地程序会错误
The text was updated successfully, but these errors were encountered: