@tekkare/auriga 0.1.153 → 0.1.155
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/dist/module.json
CHANGED
|
@@ -376,6 +376,7 @@ export default defineComponent({
|
|
|
376
376
|
saveTable.value = Object.assign([], [...new Set(fillTable.value)]);
|
|
377
377
|
dataValues.value = fillTable.value;
|
|
378
378
|
currentPage.value = 1;
|
|
379
|
+
setCrop();
|
|
379
380
|
}
|
|
380
381
|
);
|
|
381
382
|
watch(
|
|
@@ -669,8 +670,12 @@ export default defineComponent({
|
|
|
669
670
|
showToggle.value = props.toggleDisplay;
|
|
670
671
|
}
|
|
671
672
|
onMounted(() => {
|
|
673
|
+
setCrop();
|
|
674
|
+
});
|
|
675
|
+
function setCrop() {
|
|
672
676
|
setTimeout(() => {
|
|
673
677
|
if (props.autoCrop) {
|
|
678
|
+
hasReadMore.value = [];
|
|
674
679
|
const textCells = document.querySelectorAll(".text_cell");
|
|
675
680
|
textCells.forEach((cell) => {
|
|
676
681
|
cell.classList.remove("crop_text");
|
|
@@ -682,8 +687,8 @@ export default defineComponent({
|
|
|
682
687
|
}
|
|
683
688
|
});
|
|
684
689
|
}
|
|
685
|
-
},
|
|
686
|
-
}
|
|
690
|
+
}, 100);
|
|
691
|
+
}
|
|
687
692
|
function applyToggleCrop(index, value) {
|
|
688
693
|
if (toggleCrop.value !== null) {
|
|
689
694
|
if (toggleCrop.value.index === index && toggleCrop.value.value === value) {
|