Skip to content

Commit 5ab0651

Browse files
committed
Updated example files
1 parent da1103b commit 5ab0651

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/app.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ const ModalComponent3 = {
102102

103103
closePrevious() {
104104
Bus.$emit('close', {
105-
$index(current) {
106-
return current - 1;
105+
$index(data, vuedals) {
106+
return vuedals.length - 2;
107107
}
108108
});
109109
}

0 commit comments

Comments
 (0)