From da869cb6cdc0a179d7ce93e30fda68ed2860d798 Mon Sep 17 00:00:00 2001 From: jscyl13849007907 <13849007907@163.com> Date: Mon, 20 Oct 2025 13:51:37 +0800 Subject: [PATCH] no message --- root/chat/index.vue | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/root/chat/index.vue b/root/chat/index.vue index ec20788..02916eb 100644 --- a/root/chat/index.vue +++ b/root/chat/index.vue @@ -2078,12 +2078,17 @@ }, animate($type = "heavy") { - uni.vibrateShort({ - type: $type, - fail(err){ - console.log('震动失败:',err) - } - }); + const systemInfo = uni.getSystemInfoSync(); + if(systemInfo.platform === 'ios'){ + + }else{ + uni.vibrateShort({ + type: $type, + fail(err) { + console.log("震动失败:", err); + }, + }); + } }, clearMsg() { this.sendMsg = "";