mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-07 03:14:07 +08:00
update files
This commit is contained in:
parent
bf5e598de4
commit
1e705835d0
@ -94,6 +94,10 @@ module.exports = Vue.component('dynamic-item', {
|
||||
'reset-error': function (){
|
||||
this.nameError = '';
|
||||
this.valueError = '';
|
||||
},
|
||||
'reset-input': function (){
|
||||
this.name = '';
|
||||
this.value = '';
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -64,6 +64,11 @@ module.exports = Vue.component('project-configure', {
|
||||
|
||||
// send message
|
||||
this.$dispatch('edit', util.clone(this.projectClone));
|
||||
|
||||
// clean error
|
||||
this.$broadcast('reset-error');
|
||||
// clean input
|
||||
this.$broadcast('reset-input');
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -74,6 +79,8 @@ module.exports = Vue.component('project-configure', {
|
||||
|
||||
// clean error
|
||||
this.$broadcast('reset-error');
|
||||
// clean input
|
||||
this.$broadcast('reset-input');
|
||||
}
|
||||
},
|
||||
events: {
|
||||
@ -82,6 +89,8 @@ module.exports = Vue.component('project-configure', {
|
||||
|
||||
// clean error
|
||||
this.$broadcast('reset-error');
|
||||
// clean input
|
||||
this.$broadcast('reset-input');
|
||||
}
|
||||
},
|
||||
created: function (){
|
||||
|
Loading…
x
Reference in New Issue
Block a user