update files

This commit is contained in:
nuintun 2015-11-23 18:15:25 +08:00
parent 4211853575
commit 185f2f9a42

View File

@ -35,12 +35,7 @@ module.exports = Vue.component('app-main', {
}, },
computed: { computed: {
project: function (){ project: function (){
var project = this.projects[this.activeIndex] || { var project = JSON.parse(JSON.stringify(this.projects[this.activeIndex]));
name: '',
path: '',
env: [],
command: []
};
if (!project.env) { if (!project.env) {
project.env = []; project.env = [];