已合并
fix: Inconsistent with Android in repeated vibration mode #1069
zheng-jun-feng创建于 2025年5月28日
fix: Inconsistent with Android in repeated vibration mode #1069
已合并
从已删除 :master合入到CPF-RN/ohos_react_nativemaster
共 1 个文件变更+1-1
| @@ -41,7 +41,7 @@ function vibrateScheduler( | |||
| 41 | if (repeat) { | 41 | if (repeat) { |
| 42 | // $FlowFixMe[reassign-const] | 42 | // $FlowFixMe[reassign-const] |
| 43 | nextIndex = 0; | 43 | nextIndex = 0; |
| 44 | - shouldVibrate = true; | 44 | + shouldVibrate = false; |
| 45 | } else { | 45 | } else { |
| 46 | _vibrating = false; | 46 | _vibrating = false; |
| 47 | return; | 47 | return; |
确认pattern数组长度为奇数时的场景,是否满足官网规格的描述