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