feat(应急就医):

三个预警的音效,心率和血氧只响一遍,一键报警不变
This commit is contained in:
2026-06-29 15:21:41 +08:00
parent c33ad0d807
commit a22c59f220
+2 -2
View File
@@ -186,13 +186,13 @@ export function useSocket(p = basicPath, hasTimestamp: boolean = true) {
function getAudio(sourceType: string) { function getAudio(sourceType: string) {
switch (sourceType) { switch (sourceType) {
case 'heart_rate': case 'heart_rate':
audioMgr.play('a', 3); audioMgr.play('a', 1);
break; break;
case 'a_key_alarm': case 'a_key_alarm':
audioMgr.play('b', 3); audioMgr.play('b', 3);
break; break;
case 'spo2': case 'spo2':
audioMgr.play('c', 3); audioMgr.play('c', 1);
break; break;
default: default:
audioMgr.play('d', 1); audioMgr.play('d', 1);