mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 08:51:20 -08:00
移除尺寸报错
This commit is contained in:
1 parent
debec4e4ab
commit
0059469060
2 files changed
+1
-6
No files matched your search
@@ -16,7 +16,7 @@
|
|||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
height: fit-content;
|
height: fit-content;
|
||||||
margin: 5px 0 0;
|
margin: 5px 0 0;
|
||||||
line-height: 1;
|
line-height: 1.2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -16,11 +16,6 @@ export default class Template {
|
|||||||
'Cannot mount multiple instances on the same dom element',
|
'Cannot mount multiple instances on the same dom element',
|
||||||
);
|
);
|
||||||
|
|
||||||
errorHandle(
|
|
||||||
this.$container.clientWidth && this.$container.clientHeight,
|
|
||||||
'The width and height of the container cannot be 0',
|
|
||||||
);
|
|
||||||
|
|
||||||
if (art.whitelist.state) {
|
if (art.whitelist.state) {
|
||||||
this.desktop();
|
this.desktop();
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in new issue
Block a user