flameresttable 1.0.75 → 1.0.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flameresttable",
3
- "version": "1.0.75",
3
+ "version": "1.0.77",
4
4
  "main": "./src/plugin.ts",
5
5
  "repository": {
6
6
  "type": "git",
@@ -63,7 +63,7 @@ export default class FlameTable<T> {
63
63
  /**
64
64
  * Выделенные галочками чекбоксы
65
65
  */
66
- public RowsSelected: Array<T> = reactive([]);
66
+ public RowsSelected: Array<T> = [];
67
67
 
68
68
  /**
69
69
  * Состояние экспорта
@@ -437,6 +437,8 @@ export default class FlameTable<T> {
437
437
  if (el.selected)
438
438
  res.push(el.item)
439
439
  }
440
+ this.RowsSelected.splice(0);
441
+ this.RowsSelected.push(...res);
440
442
  return res;
441
443
  }
442
444
 
@@ -251,7 +251,7 @@ export default defineComponent({
251
251
 
252
252
  setup(props) {
253
253
 
254
- const Table = reactive(new FlameTable(props.model as any, props.opts)) as FlameTable<any>;
254
+ const Table = (new FlameTable(props.model as any, props.opts)) as FlameTable<any>;
255
255
 
256
256
  const FlameTableModal = ref<InstanceType<typeof ModalVue>>();
257
257