mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-07 11:34:05 +08:00
update files
This commit is contained in:
parent
4211853575
commit
185f2f9a42
@ -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 = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user