From 185f2f9a4293c2caca38fa384f96a877315c5e89 Mon Sep 17 00:00:00 2001 From: nuintun Date: Mon, 23 Nov 2015 18:15:25 +0800 Subject: [PATCH] update files --- static/js/components/app-main/index.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/static/js/components/app-main/index.js b/static/js/components/app-main/index.js index 4fb9f53..a0cf517 100644 --- a/static/js/components/app-main/index.js +++ b/static/js/components/app-main/index.js @@ -35,12 +35,7 @@ module.exports = Vue.component('app-main', { }, computed: { project: function (){ - var project = this.projects[this.activeIndex] || { - name: '', - path: '', - env: [], - command: [] - }; + var project = JSON.parse(JSON.stringify(this.projects[this.activeIndex])); if (!project.env) { project.env = [];