mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-23 22:01:20 -08:00
压缩字符
This commit is contained in:
1 parent
baaaa4c56c
commit
ee90291897
13 files changed
+216
-280
No files matched your search
@@ -7,15 +7,15 @@ export default class Setting extends Component {
|
||||
constructor(art) {
|
||||
super(art);
|
||||
|
||||
this.$parent = art.template.$settingBody;
|
||||
|
||||
const {
|
||||
option,
|
||||
template: { $setting },
|
||||
template: { $setting, $settingBody },
|
||||
events: { proxy },
|
||||
} = art;
|
||||
|
||||
if (art.option.setting) {
|
||||
this.$parent = $settingBody;
|
||||
|
||||
if (option.setting) {
|
||||
art.on('ready', () => {
|
||||
proxy($setting, 'click', e => {
|
||||
if (e.target === $setting) {
|
||||
@@ -44,10 +44,10 @@ export default class Setting extends Component {
|
||||
}),
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
art.on('blur', () => {
|
||||
this.show = false;
|
||||
});
|
||||
art.on('blur', () => {
|
||||
this.show = false;
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user