This commit is contained in:
2021-06-10 23:51:18 +00:00
parent 5f64cd01f3
commit 572ab39fc7
12 changed files with 81 additions and 2 deletions

View File

@@ -68,6 +68,7 @@
</v-col>
</template>
<template v-if="hasData && hasSelection">
<div ref="tasktopform"></div>
<v-btn
v-if="canDelete && isDeleted"
large
@@ -357,6 +358,12 @@ export default {
if (val != oldVal) {
this.selectedRow = [{ index: val }];
this.activeItemIndex = val;
this.$nextTick(() => {
const el = this.$refs.tasktopform;
if (el) {
el.scrollIntoView({ behavior: "smooth" });
}
});
}
}
},