Skip to content
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

[table] 表格的行的拖拽与扩展行使用vue.draggable.next冲突失效 #4862

Open
WolfeChina opened this issue Dec 24, 2024 · 2 comments
Labels
need more info need more information to resolve issue

Comments

@WolfeChina
Copy link

tdesign-vue-next 版本

1.10.4

重现链接

No response

重现步骤

table 设置可拖拽(dragSort='row-handler')
table的#expandedRow扩展行使用vue.draggable.next的draggable

期望结果

table行可拖拽
table的#expandedRow扩展行里的draggable也可拖拽

实际结果

table行可拖拽
table的#expandedRow扩展行里的draggable不可拖拽

框架版本

Vue(3.4.21)

浏览器版本

Chrome(119.0.6045.159)

系统版本

Win11

Node版本

20.13.1

补充说明

代码样例("vuedraggable": "4.1.0"):

<template #expandedRow="{ row }">

	  <draggable
		  :list="row.stepItemList"
		  itemKey="stepItemId"
		  animation="300">
		<template #item="{ element: stepItem }">
		  <div style="width: 100%; border: 1px solid #999">text {{stepItem.stepItemId}}</div>

		</template>
	  </draggable>
</template>
Copy link
Contributor

👋 @WolfeChina,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@uyarn
Copy link
Collaborator

uyarn commented Dec 25, 2024

是在扩展行里面又再自己实现了某种拖拽排序的功能?

@uyarn uyarn added the need more info need more information to resolve issue label Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need more info need more information to resolve issue
Projects
None yet
Development

No branches or pull requests

2 participants