Vue binding form input

v-model Ignores all form elements  value, checked, selected the initial value of the property and will always Vue instance data as a data source. You should be in the assembly by JavaScript declaration of initial value options. data 

(Computed values ​​on the binding is invalid)

 

Cloning can be avoided or modified depth is not executed due to error in the function mutation

Reference: https://vuex.vuejs.org/zh/guide/forms.html

 

https://vuex.vuejs.org/zh/guide/mutations.html

 

Guess you like

Origin www.cnblogs.com/winyh/p/11671189.html