update files

This commit is contained in:
nuintun
2015-11-24 12:41:58 +08:00
parent 4608033522
commit 18027aa3ef
4 changed files with 23 additions and 13 deletions

View File

@@ -31,7 +31,7 @@ module.exports = Vue.component('project-configure', {
},
data: function (){
return {
clone: null
clone: util.clone(this.project)
}
},
watch: {
@@ -71,8 +71,5 @@ module.exports = Vue.component('project-configure', {
// clean
this.reset();
}
},
created: function (){
this.clone = util.clone(this.project);
}
});

View File

@@ -11,7 +11,7 @@
<li
v-ref:base
is="project-base"
:name.sync="clone.name"
:origin-name.sync="clone.name"
:path.sync="clone.path"
:unique="unique">
</li>