update files

This commit is contained in:
Nuintun
2015-11-20 16:08:44 +08:00
parent 09c9b8268e
commit 5950b48276
8 changed files with 96 additions and 21 deletions

View File

@@ -82,6 +82,12 @@ module.exports = Vue.component('dynamic-item', {
delete this.$data._cached[item.name];
}
},
events: {
'clean-error': function (){
this.nameError = '';
this.valueError = '';
}
},
created: function (){
this.items.forEach(function (item){
this.$data._cached[item.name] = true;