mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-07 11:34:05 +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 (){
|
'reset-error': function (){
|
||||||
this.nameError = '';
|
this.nameError = '';
|
||||||
this.valueError = '';
|
this.valueError = '';
|
||||||
|
},
|
||||||
|
'reset-input': function (){
|
||||||
|
this.name = '';
|
||||||
|
this.value = '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -64,6 +64,11 @@ module.exports = Vue.component('project-configure', {
|
|||||||
|
|
||||||
// send message
|
// send message
|
||||||
this.$dispatch('edit', util.clone(this.projectClone));
|
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
|
// clean error
|
||||||
this.$broadcast('reset-error');
|
this.$broadcast('reset-error');
|
||||||
|
// clean input
|
||||||
|
this.$broadcast('reset-input');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
events: {
|
events: {
|
||||||
@ -82,6 +89,8 @@ module.exports = Vue.component('project-configure', {
|
|||||||
|
|
||||||
// clean error
|
// clean error
|
||||||
this.$broadcast('reset-error');
|
this.$broadcast('reset-error');
|
||||||
|
// clean input
|
||||||
|
this.$broadcast('reset-input');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created: function (){
|
created: function (){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user