We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46c30a3 commit eea8ed0Copy full SHA for eea8ed0
src/Component.ts
@@ -118,9 +118,9 @@ export default defineComponent({
118
[boolAttrs[i], v]).filter(([, v]) => v !== undefined)))
119
})
120
121
- watch(() => attrs, newAttrs => {
+ watch(() => attrs, (newAttrs) => {
122
// Functions need to be merged again
123
- const defaultFunctionAttrs: { onChange?: Function, onChangeMode?: Function } = {}
+ const defaultFunctionAttrs: { onChange?: Function; onChangeMode?: Function } = {}
124
if (newAttrs.onChange) {
125
defaultFunctionAttrs.onChange = onChange
126
}
0 commit comments