This commit is contained in:
2021-06-10 22:45:10 +00:00
parent bec1c0088f
commit cfd54c2ab8
2 changed files with 24 additions and 46 deletions

View File

@@ -614,6 +614,10 @@ export default {
activeWoItemIndex: {
default: null,
type: Number
},
gotoIndex: {
default: null,
type: Number
}
},
watch: {
@@ -621,6 +625,12 @@ export default {
if (val != oldVal) {
this.setDefaultView();
}
},
gotoIndex(val, oldVal) {
if (val != oldVal) {
this.selectedRow = [{ index: val }];
this.activeItemIndex = val;
}
}
},
methods: {