mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
Fix List Reload Bug
This commit is contained in:
@@ -119,6 +119,7 @@ export default {
|
||||
this.$refs.new.open();
|
||||
},
|
||||
rowSelectionChanged(data) {
|
||||
this.lastSelected = this.selected;
|
||||
this.$emit('update:selected', data);
|
||||
},
|
||||
autoSelectRows(data) {
|
||||
@@ -129,8 +130,6 @@ export default {
|
||||
// or maybe reselect only the last one?
|
||||
selected = selected.filter(el => el);
|
||||
|
||||
this.lastSelected = null;
|
||||
|
||||
if (selected.length)
|
||||
this.$refs.table.tabulator.selectRow(selected);
|
||||
} else if(this.lastSelected === undefined) {
|
||||
|
||||
Reference in New Issue
Block a user