mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-06 10:54:07 +08:00
update files
This commit is contained in:
parent
50cdfcd589
commit
47a857cd5b
@ -99,6 +99,8 @@ function closeXTerm(name){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var status = 0;
|
||||||
|
|
||||||
module.exports = Vue.component('app-main', {
|
module.exports = Vue.component('app-main', {
|
||||||
template: fs.readFileSync(path.join(__dirname, 'app-main.html')).toString(),
|
template: fs.readFileSync(path.join(__dirname, 'app-main.html')).toString(),
|
||||||
props: {
|
props: {
|
||||||
@ -161,7 +163,9 @@ module.exports = Vue.component('app-main', {
|
|||||||
name: name,
|
name: name,
|
||||||
value: command
|
value: command
|
||||||
}
|
}
|
||||||
}, 'start');
|
}, status === 0 ? 'start' : 'stop');
|
||||||
|
|
||||||
|
status = status === 0 ? 1 : 0;
|
||||||
},
|
},
|
||||||
setting: function (){
|
setting: function (){
|
||||||
this.showSetting = true;
|
this.showSetting = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user