update files

This commit is contained in:
nuintun 2016-01-14 17:36:59 +08:00
parent 22714863d0
commit 8e11489eb0

View File

@ -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');
} }