From 8e11489eb0accee0c62cb413da4263ef8625044f Mon Sep 17 00:00:00 2001 From: nuintun Date: Thu, 14 Jan 2016 17:36:59 +0800 Subject: [PATCH] update files --- static/js/components/app-configure/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/static/js/components/app-configure/index.js b/static/js/components/app-configure/index.js index 2bbcad6..2f515ff 100644 --- a/static/js/components/app-configure/index.js +++ b/static/js/components/app-configure/index.js @@ -47,6 +47,9 @@ module.exports = Vue.component('app-configure', { var base = this.$refs.base; if (base.isValid()) { + // hide popup + this.showPopup = false; + // add this.configure.projects.push({ name: this.name, @@ -62,8 +65,6 @@ module.exports = Vue.component('app-configure', { this.$dispatch('change-active', index, true); this.$dispatch('save-configure'); - // hide popup - this.showPopup = false; // clean base.$emit('reset-input'); }