提交 29faee95 编写于 作者: 璃白.'s avatar 璃白. 🌻

feat:添加视频时长

上级 ba243d20
......@@ -453,7 +453,10 @@ export default {
item.preload = true;
return new Promise((res, rej) => {
item.oncanplay = function() {
res(item.duration);
res({
src: item.src,
duration: item.duration
});
};
});
});
......
......@@ -183,7 +183,7 @@ export default {
{
name: "call",
icon: "aite",
tip: "@用户",
tip: "@好友",
startStr: "@",
endStr: ""
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册