Merge branch 'main' of http://47.107.152.87:3000/dyf/APP
This commit is contained in:
@ -1079,10 +1079,7 @@
|
||||
});
|
||||
}
|
||||
}).catch(() => {
|
||||
uni.showToast({
|
||||
title: '下发失败,请检查蓝牙或网络',
|
||||
icon: 'none'
|
||||
});
|
||||
uni.showToast({ title: '下发失败,请检查蓝牙或网络', icon: 'none' });
|
||||
});
|
||||
} else if (prevVoiceType === '7' && val !== '7' && val !== '-1') {
|
||||
// 从「播放语音」切到其它内置音色:先关播报;报警未开启时不走 forceAlarm,仅 UI 预选音色
|
||||
@ -1093,10 +1090,7 @@
|
||||
};
|
||||
deviceVoiceBroadcast(data).then((res) => {
|
||||
if (res.code == 200) {
|
||||
uni.showToast({
|
||||
title: res.msg || '已切换',
|
||||
icon: 'none'
|
||||
});
|
||||
uni.showToast({ title: res.msg || '已切换', icon: 'none' });
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: res.msg || '操作失败',
|
||||
|
||||
Reference in New Issue
Block a user