|
@@ -788,13 +788,13 @@ const enterVoiceBroadDialog = async () => {
|
|
|
|
|
|
|
|
|
const openSetBrightDialog = async (obj)=>{
|
|
|
- // if (obj.status ===0 ){
|
|
|
- // ElMessage({
|
|
|
- // type: 'info',
|
|
|
- // message: '操作失败,设备离线',
|
|
|
- // })
|
|
|
- // return
|
|
|
- // }
|
|
|
+ if (obj.status ===0 ){
|
|
|
+ ElMessage({
|
|
|
+ type: 'info',
|
|
|
+ message: '操作失败,设备离线',
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
setBrightForm.value = {dayBright:obj.dayBright,nightBright:obj.nightBright}
|
|
|
setBrightDialog.value = true
|
|
|
nowSn.value = obj.sn
|