diff --git a/src/components/common/VnDmsList.vue b/src/components/common/VnDmsList.vue index f82370d88..36c87bab0 100644 --- a/src/components/common/VnDmsList.vue +++ b/src/components/common/VnDmsList.vue @@ -202,7 +202,7 @@ const columns = computed(() => [ prop.row.id, $props.downloadModel, undefined, - prop.row.download + prop.row.download, ), }, { @@ -374,7 +374,7 @@ defineExpose({ v-if=" shouldRenderButton( button.name, - props.row.isDocuware + props.row.isDocuware, ) " :is="button.component" diff --git a/src/components/common/VnSection.vue b/src/components/common/VnSection.vue index 376eaf03d..4d7984482 100644 --- a/src/components/common/VnSection.vue +++ b/src/components/common/VnSection.vue @@ -75,6 +75,10 @@ onMounted(() => { onUnmounted(unsubscribe); }); +onUnmounted(() => { + if (arrayData) arrayData.destroy(); +}); + function checkIsMain() { isMainSection.value = sectionValue.value == route.name; if (!isMainSection.value && arrayData) { diff --git a/src/components/common/VnSelectWorker.vue b/src/components/common/VnSelectWorker.vue index 2762d6c02..8d60eb014 100644 --- a/src/components/common/VnSelectWorker.vue +++ b/src/components/common/VnSelectWorker.vue @@ -9,9 +9,9 @@ const $props = defineProps({ type: Boolean, default: false, }, - hasInfo: { - type: Boolean, - default: false, + info: { + type: String, + default: undefined, }, modelValue: { type: [String, Number, Object], @@ -57,9 +57,9 @@ const url = computed(() => { -