mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-19 03:11:20 -08:00
update toggle
This commit is contained in:
1 parent
776a02a221
commit
cd28cc795f
4 files changed
+7
-9
No files matched your search
@@ -40,10 +40,8 @@ export default class Component {
|
||||
this.art.emit(this.name, value);
|
||||
}
|
||||
|
||||
set toggle(value) {
|
||||
if (value) {
|
||||
this.show = !this.show;
|
||||
}
|
||||
toggle() {
|
||||
this.show = !this.show;
|
||||
}
|
||||
|
||||
add(getOption) {
|
||||
|
||||
Reference in new issue
Block a user