提交 35844335 编写于 作者: Q qiang

fix(h5): video danmuList.sort

上级 c43aa69b
...@@ -364,7 +364,7 @@ export default { ...@@ -364,7 +364,7 @@ export default {
} }
const danmuList = this.otherData.danmuList = JSON.parse(JSON.stringify(this.danmuList || [])) const danmuList = this.otherData.danmuList = JSON.parse(JSON.stringify(this.danmuList || []))
danmuList.sort(function (a, b) { danmuList.sort(function (a, b) {
return (a.time || 0) - (a.time || 0) return (a.time || 0) - (b.time || 0)
}) })
}, },
mounted () { mounted () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册