This commit is contained in:
@@ -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" });
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user