开出控制修改
This commit is contained in:
parent
8d34e0465b
commit
5b38bf9c91
@ -62,7 +62,7 @@ function outputChange(item:any,index:any){
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
controlSwitch(index + 1, item ? 0 : 1).then(res => {
|
||||
if (res.data.control_status === '执行成功') {
|
||||
if (res.data) {
|
||||
ElMessage.success('操作成功')
|
||||
}
|
||||
else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user