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
50cdfcd589
commit
47a857cd5b
@ -99,6 +99,8 @@ function closeXTerm(name){
|
||||
}
|
||||
}
|
||||
|
||||
var status = 0;
|
||||
|
||||
module.exports = Vue.component('app-main', {
|
||||
template: fs.readFileSync(path.join(__dirname, 'app-main.html')).toString(),
|
||||
props: {
|
||||
@ -161,7 +163,9 @@ module.exports = Vue.component('app-main', {
|
||||
name: name,
|
||||
value: command
|
||||
}
|
||||
}, 'start');
|
||||
}, status === 0 ? 'start' : 'stop');
|
||||
|
||||
status = status === 0 ? 1 : 0;
|
||||
},
|
||||
setting: function (){
|
||||
this.showSetting = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user