Skip to content

Commit

Permalink
fix(TableView): 数据表格初始排序,第一次加载表格时不生效
Browse files Browse the repository at this point in the history
  • Loading branch information
violarong committed Jun 18, 2024
1 parent 507c3f8 commit 87c5789
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/DataSource/new.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ const VueDataSource = Vue.extend({
if (!this.remote) {
this.initialLoaded = true;
this.originTotal = this.data.length;
this.arrange(this.data.slice(this.offset, this.offset + this.limit));
this.arrange();
}
},
methods: {
Expand Down

0 comments on commit 87c5789

Please sign in to comment.