diff --git a/src/babel-sugar-v-model-v1.1.2-patch.js b/src/babel-sugar-v-model-v1.1.2-patch.js index 5846e81..581e125 100644 --- a/src/babel-sugar-v-model-v1.1.2-patch.js +++ b/src/babel-sugar-v-model-v1.1.2-patch.js @@ -33,7 +33,7 @@ module.exports = ({ types: t }) => { path.traverse({ JSXAttribute(path) { const n = path.get("name"); - const isInputOrModel = n.node.name === "on-input" || n.node.name === "model"; + const isInputOrModel = n.node.name === "on-input" || n.node.name === "on-change" || n.node.name === "model"; if (!isInputOrModel) return; path.traverse({ MemberExpression(path) {