mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-06 10:54:07 +08:00
update files
This commit is contained in:
parent
22714863d0
commit
8e11489eb0
@ -47,6 +47,9 @@ module.exports = Vue.component('app-configure', {
|
|||||||
var base = this.$refs.base;
|
var base = this.$refs.base;
|
||||||
|
|
||||||
if (base.isValid()) {
|
if (base.isValid()) {
|
||||||
|
// hide popup
|
||||||
|
this.showPopup = false;
|
||||||
|
|
||||||
// add
|
// add
|
||||||
this.configure.projects.push({
|
this.configure.projects.push({
|
||||||
name: this.name,
|
name: this.name,
|
||||||
@ -62,8 +65,6 @@ module.exports = Vue.component('app-configure', {
|
|||||||
this.$dispatch('change-active', index, true);
|
this.$dispatch('change-active', index, true);
|
||||||
this.$dispatch('save-configure');
|
this.$dispatch('save-configure');
|
||||||
|
|
||||||
// hide popup
|
|
||||||
this.showPopup = false;
|
|
||||||
// clean
|
// clean
|
||||||
base.$emit('reset-input');
|
base.$emit('reset-input');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user