update files

This commit is contained in:
nuintun
2015-11-23 22:34:25 +08:00
parent 6f0ee7a728
commit bf5e598de4
4 changed files with 12 additions and 14 deletions

View File

@@ -70,16 +70,18 @@ module.exports = Vue.component('project-configure', {
cancel: function (){
this.show = false;
this.submitError = '';
this.$broadcast('reset-form');
this.projectClone = util.clone(this.project);
// clean error
this.$broadcast('reset-error');
}
},
events: {
'configure-refresh': function (){
this.submitError = '';
this.$broadcast('reset-form');
// clean error
this.$broadcast('reset-error');
}
},
created: function (){