瀏覽代碼

按下录音震动效果,iOS 不支持

zhujindu 1 年之前
父節點
當前提交
976248ce85
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/intelligence/index.vue

+ 2 - 2
src/views/intelligence/index.vue

@@ -638,8 +638,8 @@ export default {
       });
     },
     touchstart() {
-      // 按下录音震动效果
-      navigator.vibrate(1500);
+      // 按下录音震动效果,iOS 不支持
+      // navigator.vibrate(1500);
       this.startRecord();
     },
     startRecord() {