update files

This commit is contained in:
nuintun 2015-11-24 12:24:54 +08:00
parent a058067ed0
commit c7a4f0246b

View File

@ -36,8 +36,9 @@ module.exports = Vue.component('project-configure', {
}, },
watch: { watch: {
project: function (project){ project: function (project){
this.reset();
this.clone = util.clone(project); this.clone = util.clone(project);
// clean
this.reset();
} }
}, },
methods: { methods: {
@ -59,8 +60,7 @@ module.exports = Vue.component('project-configure', {
// send message // send message
this.$dispatch('edit', util.clone(this.clone)); this.$dispatch('edit', util.clone(this.clone));
// clean
// clean item input
this.reset(); this.reset();
} }
}, },
@ -68,7 +68,7 @@ module.exports = Vue.component('project-configure', {
this.show = false; this.show = false;
this.clone = util.clone(this.project); this.clone = util.clone(this.project);
// clean item input // clean
this.reset(); this.reset();
} }
}, },