refactor: refine form example

This commit is contained in:
Pan
2017-10-25 09:54:21 +08:00
parent 59073fb013
commit feb6785654
3 changed files with 55 additions and 35 deletions

View File

@@ -71,6 +71,11 @@ export default {
}
}
},
watch: {
value(newValue) {
this.currentValue = newValue
}
},
data() {
return {
currentValue: this.value,