update style

This commit is contained in:
Harvey committed 2022-04-29 10:42:41 +08:00
1 parent 744a6496c7
commit 79d4ef3d36
4 files changed
+146 -136

No files matched your search

+3
View File
@@ -3,6 +3,9 @@ import { secondToTime } from '../utils';
export default function time(option) {
return (art) => ({
...option,
style: {
cursor: 'auto',
},
mounted: ($control) => {
function getTime() {
const newTime = `${secondToTime(art.currentTime)} / ${secondToTime(art.duration)}`;