You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In 2.1.0 all condition branches for v-if/v-else/v-else-if are moved in to the node.conditions array. However the codegen mutated the array while generating the branches so it ended up empty.
I've renamed it to node.ifConditions and avoided the mutation.
/cc @defcc : in the future, we should avoid mutating the AST during codegen.
Vue.js version(vue-template-compiler)
2.1.3
Code
Result
2.0.8 (has elseBlock)
2.1.3 (no elseBlock)
What is Expected?
Always able to compile 'elseBlock'.
What is actually happening?
I don't know.
The text was updated successfully, but these errors were encountered: