javascript - How to get v-model variable name in vue2
漂亮男人
漂亮男人 2017-06-28 09:26:12
0
2
829

When vue2 develops a component, in the component, you can get the value specified by v-model through this.value, but how to get the variable name corresponding to v-model, such as <input v-model='deptName' /> , how to get the deptName variable name.

漂亮男人
漂亮男人

reply all(2)
为情所困

There is no such interface. You can try to implement a command binding yourself, or adjust the implementation idea.

世界只因有你

Adjust the implementation idea.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template