@@ -183,6 +183,15 @@ const handleFingerprintResponse = data => {
const code = data.code;
const msg = data.message || '';
+
+ if(msg === '请抬起手指'){
+ //播放提示音
+ plugin.soundPlay.playLift();
+ }else if(msg === '请按压手指'){
+ plugin.soundPlay.playPress();
+ }
if (code === 0) {
statusText.value = msg || '指纹录入成功!';
@@ -197,6 +197,9 @@ const handleFingerprintResponse = data => {
router.push('/home');
}
checkPasswordReminder();
+ //登录成功播放提示音
+ plugin.soundPlay.playLogin();
}, 1000);
} else {
@@ -271,6 +271,8 @@ const handleLogin = async () => {
// checkPasswordReminder();
checkAwayAbnormalCar();
showNotify({ type: 'danger', message: res.errorMessage });