[bugfix] Area: fix test cases (#1392)
This commit is contained in:
@@ -144,7 +144,7 @@ export default create({
|
||||
},
|
||||
|
||||
setIndex(index, userAction) {
|
||||
index = this.adjustIndex(index);
|
||||
index = this.adjustIndex(index) || 0;
|
||||
this.offset = -index * this.itemHeight;
|
||||
|
||||
if (index !== this.currentIndex) {
|
||||
|
||||
Reference in New Issue
Block a user