mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-19 19:51:20 -08:00
移除深度合并依赖
This commit is contained in:
1 parent
dc8405403c
commit
b943bcde99
13 files changed
+232
-267
No files matched your search
@@ -3,7 +3,7 @@ import { errorHandle } from './utils';
|
||||
export default class Template {
|
||||
constructor(art) {
|
||||
if (art.option.container instanceof Element) {
|
||||
this.$container = this.option.container;
|
||||
this.$container = art.option.container;
|
||||
} else {
|
||||
this.$container = document.querySelector(art.option.container);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user