vueless 0.0.129 → 0.0.130
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 +1 -1
- package/ui.data-table/index.vue +3 -2
- package/web-types.json +1 -1
package/package.json
CHANGED
package/ui.data-table/index.vue
CHANGED
|
@@ -266,10 +266,11 @@ import {
|
|
|
266
266
|
ref,
|
|
267
267
|
computed,
|
|
268
268
|
watch,
|
|
269
|
+
toValue,
|
|
269
270
|
useSlots,
|
|
271
|
+
nextTick,
|
|
270
272
|
onMounted,
|
|
271
273
|
onUpdated,
|
|
272
|
-
nextTick,
|
|
273
274
|
onBeforeUnmount,
|
|
274
275
|
} from "vue";
|
|
275
276
|
import { merge } from "lodash-es";
|
|
@@ -535,7 +536,7 @@ const {
|
|
|
535
536
|
|
|
536
537
|
watch(selectAll, onChangeSelectAll, { deep: true });
|
|
537
538
|
watch(selectedRows, onChangeSelectedRows, { deep: true });
|
|
538
|
-
watch(tableRows, () => emit("update:rows", tableRows), { deep: true });
|
|
539
|
+
watch(tableRows, () => emit("update:rows", toValue(tableRows)), { deep: true });
|
|
539
540
|
watch(() => tableRows.value.length, updateSelectedRows);
|
|
540
541
|
watch(() => props.rows, synchronizeTableItemsWithProps, { deep: true });
|
|
541
542
|
watch(isHeaderSticky, setHeaderItemsWidth);
|