@@ -38,7 +38,7 @@ const texts = [
]
// 随机一段文本给用户阅读
-const text = texts[Math.round(Math.random() * texts.length - 1)]
+const text = texts[Math.round(Math.random() * (texts.length - 1))]
export default ({
voiceName,