add eslint

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent 483c03cebe
commit 313dee2a26
6 changed files with 55 additions and 19 deletions

View File

@@ -1,4 +1,4 @@
<div class="rr-player">
<div class="rr-player" { style }>
rrplayer
</div>
@@ -9,9 +9,23 @@
</style>
<script>
import { inlineCss } from '../util.js';
export default {
data() {
return {}
}
}
</script>
return {
width: 1024,
height: 576,
};
},
computed: {
style({ width, height }) {
return inlineCss({
width: `${width}px`,
height: `${height}px`,
});
},
},
};
</script>