From c7a4f0246b475527959590891a8443ac7bca6457 Mon Sep 17 00:00:00 2001 From: nuintun Date: Tue, 24 Nov 2015 12:24:54 +0800 Subject: [PATCH] update files --- static/js/components/project-configure/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/static/js/components/project-configure/index.js b/static/js/components/project-configure/index.js index 8d76fd2..8e423ae 100644 --- a/static/js/components/project-configure/index.js +++ b/static/js/components/project-configure/index.js @@ -36,8 +36,9 @@ module.exports = Vue.component('project-configure', { }, watch: { project: function (project){ - this.reset(); this.clone = util.clone(project); + // clean + this.reset(); } }, methods: { @@ -59,8 +60,7 @@ module.exports = Vue.component('project-configure', { // send message this.$dispatch('edit', util.clone(this.clone)); - - // clean item input + // clean this.reset(); } }, @@ -68,7 +68,7 @@ module.exports = Vue.component('project-configure', { this.show = false; this.clone = util.clone(this.project); - // clean item input + // clean this.reset(); } },