This commit is contained in:
2021-06-10 23:09:32 +00:00
parent 48b16bdeb0
commit 9a78173983
10 changed files with 102 additions and 3 deletions

View File

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