mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 16:11:20 -08:00
调整组件公共函数
This commit is contained in:
1 parent
8619fa1b8b
commit
c882814fb0
8 files changed
+167
-23
No files matched your search
@@ -191,6 +191,10 @@ export default class Controls {
|
||||
}
|
||||
|
||||
commonMethod(control, $control) {
|
||||
Object.defineProperty(control, '$ref', {
|
||||
get: () => $control,
|
||||
});
|
||||
|
||||
Object.defineProperty(control, 'hide', {
|
||||
value: () => {
|
||||
setStyle($control, 'display', 'none');
|
||||
|
||||
Reference in new issue
Block a user