Skip to content

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

@yaomk

Description

@yaomk
  • I have searched the issues of this repository and believe that this is not a duplicate.

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 已经被清空,但是页面依然有那条数据。

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions