vueComponent / ant-design-vue

🌈 An enterprise-class UI components based on Ant Design and Vue. 🐜
https://antdv.com/
Other
20.3k stars 3.79k forks source link

table中使用sorttablejs拖动后数据删除后渲染bug #7943

Open yaomk opened 1 week ago

yaomk commented 1 week ago

Version

4.2.6

Environment

vue: 3.5.12,sorttablejs: 1.15.3

Reproduction link

https://stackblitz.com/edit/vitejs-vite-rqjxlr?file=src%2FApp.vue

Steps to reproduce

  1. 拖动第一行数据,拖动至第二行。
  2. 点击行删除按钮。

What is expected?

能够正常删除数据。

What is actually happening?

控制台中打印 dataSource 已经被清空,但是页面依然有那条数据。