vueComponent / ant-design-vue-pro

👨🏻‍💻👩🏻‍💻 Use Ant Design Vue like a Pro! (vue2)
https://pro.antdv.com
MIT License
10.71k stars 3.1k forks source link

table 集成 vue-draggable-resizable 来实现可伸缩列 错误 #610

Closed luoliyi closed 4 years ago

luoliyi commented 4 years ago

Question (问题描述) 在table 集成 vue-draggable-resizable 来实现可伸缩列时,报错Argument name clash

Describe the solution you'd like (你期待的是什么?) A clear and concise description of what you want to happen.

Additional context(附加信息) Add any other context or screenshots about the feature request here. S9(X$)V$AT4`G9BRUKPDU7I

sendya commented 4 years ago

请提供代码

luoliyi commented 4 years ago

Module parse failed: Argument name clash (70:29) File was processed with these loaders:

TowerLiuFan commented 4 years ago

我也碰到了这个问题,你解决了吗

ethan666 commented 4 years ago

我也遇到这个问题,报一样的错误

luoliyi commented 4 years ago

我也碰到了这个问题,你解决了吗

我换了一种实现方式

luoliyi commented 4 years ago

我也遇到这个问题,报一样的错误

我换了一种实现方式

ethan666 commented 4 years ago

我也遇到这个问题,报一样的错误

我换了一种实现方式

是用 vue-draggable-resizable 吗?

luoliyi commented 4 years ago

我也遇到这个问题,报一样的错误

我换了一种实现方式

是用 vue-draggable-resizable 吗?

你可以试试vue-easytable

ethan666 commented 4 years ago

我也遇到这个问题,报一样的错误

我换了一种实现方式

是用 vue-draggable-resizable 吗?

你可以试试vue-easytable

好的,多谢

ethan666 commented 4 years ago

猜测是babel, webpack配置引发的问题。

比较完美的实现: https://codesandbox.io/s/exciting-sea-d5zsf

有缺陷的实现(table的排序用不了): https://www.cnblogs.com/gg_lihui/p/12195778.html?tdsourcetag=s_pctim_aiomsg

rockfang commented 4 years ago

同问