mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-20 20:21:20 -08:00
update
This commit is contained in:
1 parent
482f02824d
commit
d72d816ef7
7 files changed
+82
-13
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import { hasClass, addClass, removeClass, append, setStyles, tooltip, getStyle } from './dom';
|
||||
import { has } from './property';
|
||||
import { has, def } from './property';
|
||||
import { errorHandle } from './error';
|
||||
|
||||
export default class Component {
|
||||
@@ -80,6 +80,10 @@ export default class Component {
|
||||
if ($ref.childNodes.length === 1 && $ref.childNodes[0].nodeType === 3) {
|
||||
addClass($ref, 'art-control-onlyText');
|
||||
}
|
||||
|
||||
def(this, name, {
|
||||
value: $ref,
|
||||
});
|
||||
}
|
||||
|
||||
selector(option, $ref) {
|
||||
|
||||
Reference in new issue
Block a user