0👍
You could set the initial state as rent like the following:
data (
return {
formData : {
Department: "rent"
}
}
)
then when you iterate change to:
:checked="o.value === formData.Department"
- [Vuejs]-Search bar in Vue flickr app not giving expected results
- [Vuejs]-Webpack + babel, transpiling dependencies
Source:stackexchange.com