This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user