update files

This commit is contained in:
nuintun 2015-11-23 22:43:37 +08:00
parent 1e705835d0
commit 463b8998e5
2 changed files with 4 additions and 4 deletions

View File

@ -95,7 +95,7 @@ module.exports = Vue.component('dynamic-item', {
this.nameError = '';
this.valueError = '';
},
'reset-input': function (){
'reset-item-input': function (){
this.name = '';
this.value = '';
}

View File

@ -68,7 +68,7 @@ module.exports = Vue.component('project-configure', {
// clean error
this.$broadcast('reset-error');
// clean input
this.$broadcast('reset-input');
this.$broadcast('reset-item-input');
}
}
},
@ -80,7 +80,7 @@ module.exports = Vue.component('project-configure', {
// clean error
this.$broadcast('reset-error');
// clean input
this.$broadcast('reset-input');
this.$broadcast('reset-item-input');
}
},
events: {
@ -90,7 +90,7 @@ module.exports = Vue.component('project-configure', {
// clean error
this.$broadcast('reset-error');
// clean input
this.$broadcast('reset-input');
this.$broadcast('reset-item-input');
}
},
created: function (){