mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2025-12-19 20:01:48 +08:00
fix(plugin-jsx): v-model argument and modifier co-usage (#668)
This commit is contained in:
@@ -166,10 +166,14 @@ const App = {
|
||||
|
||||
```jsx
|
||||
<input v-model={[val, ['modifier']]} />
|
||||
// Or
|
||||
<input v-model_modifier={val} />
|
||||
```
|
||||
|
||||
```jsx
|
||||
<A v-model={[val, 'argument', ['modifier']]} />
|
||||
// Or
|
||||
<input v-model:argument_modifier={val} />
|
||||
```
|
||||
|
||||
Will compile to:
|
||||
|
||||
Reference in New Issue
Block a user