mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 23:51:20 -08:00
update
This commit is contained in:
1 parent
592df134f1
commit
932b2005d5
2 files changed
+1
-3
No files matched your search
@@ -65,7 +65,7 @@ export default {
|
|||||||
{
|
{
|
||||||
...component,
|
...component,
|
||||||
position: (value, type, paths) => {
|
position: (value, type, paths) => {
|
||||||
const position = ['top', 'left', 'right', 'middle'];
|
const position = ['top', 'left', 'right'];
|
||||||
return errorHandle(
|
return errorHandle(
|
||||||
position.includes(value),
|
position.includes(value),
|
||||||
`${paths.join('.')} only accept ${position.toString()} as parameters`,
|
`${paths.join('.')} only accept ${position.toString()} as parameters`,
|
||||||
|
|||||||
@@ -38,7 +38,6 @@ export default class Template {
|
|||||||
<div class="art-progress"></div>
|
<div class="art-progress"></div>
|
||||||
<div class="art-controls">
|
<div class="art-controls">
|
||||||
<div class="art-controls-left"></div>
|
<div class="art-controls-left"></div>
|
||||||
<div class="art-controls-middle"></div>
|
|
||||||
<div class="art-controls-right"></div>
|
<div class="art-controls-right"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -111,7 +110,6 @@ export default class Template {
|
|||||||
this.$progress = this.query('.art-progress');
|
this.$progress = this.query('.art-progress');
|
||||||
this.$controls = this.query('.art-controls');
|
this.$controls = this.query('.art-controls');
|
||||||
this.$controlsLeft = this.query('.art-controls-left');
|
this.$controlsLeft = this.query('.art-controls-left');
|
||||||
this.$controlsMiddle = this.query('.art-controls-middle');
|
|
||||||
this.$controlsRight = this.query('.art-controls-right');
|
this.$controlsRight = this.query('.art-controls-right');
|
||||||
this.$layer = this.query('.art-layers');
|
this.$layer = this.query('.art-layers');
|
||||||
this.$loading = this.query('.art-loading');
|
this.$loading = this.query('.art-loading');
|
||||||
|
|||||||
Reference in new issue
Block a user