开出控制修改

This commit is contained in:
jingna 2026-06-26 13:35:21 +08:00
parent 8d34e0465b
commit 5b38bf9c91

View File

@ -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 {