diff --git a/packages/components/scripts/post-build/vue.ts b/packages/components/scripts/post-build/vue.ts index 946c3535921..62c884774ed 100644 --- a/packages/components/scripts/post-build/vue.ts +++ b/packages/components/scripts/post-build/vue.ts @@ -49,7 +49,7 @@ export default (tmp?: boolean) => { replacements.push({ from: 'if (props.onInput) {', to: - 'this._value = (event.target as any).value;\n' + + '_value.value = (event.target as any).value;\n' + 'if (props.onInput) {' }); }