@@ -50,7 +50,7 @@ export default {
`立即${open ? '开机' : '关机'}?`,
{ type: 'warning' }
).then(() => {
- this.sendTopic(open ? 'bootDevice' : 'shutdownDevice')
+ this.sendTopic(open ? this.openFunctionKey : this.closeFunctionKey)
})
}