0👍
This happens because this.sequence
is created at the same time with the this.steps
. It’s like writing var foo = {bar: 'baz', barTwo: foo.bar}
.
You can solve this by moving steps
initialisation to created()
or make computed
property.
- [Vuejs]-[Vue warn]: Error in render: "RangeError: Invalid array length" [Vue JS]
- [Vuejs]-Using Vue in Laravel Spark – "method not defined on the instance" using vue2-touch-events – what could I do differently?
Source:stackexchange.com