fix(compiler): force block for custom dirs and inline beforeUpdate hooks
to ensure they are called before children updates
This commit is contained in:
@@ -22,7 +22,7 @@ import {
|
||||
TextNode,
|
||||
hasDynamicKeyVBind,
|
||||
MERGE_PROPS,
|
||||
isBindKey,
|
||||
isStaticArgOf,
|
||||
createSequenceExpression,
|
||||
InterpolationNode,
|
||||
isStaticExp,
|
||||
@@ -335,7 +335,7 @@ function isTextareaWithValue(
|
||||
return !!(
|
||||
node.tag === 'textarea' &&
|
||||
prop.name === 'bind' &&
|
||||
isBindKey(prop.arg, 'value')
|
||||
isStaticArgOf(prop.arg, 'value')
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user