mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-21 21:01:20 -08:00
Refactor Setting class to update range values and append items
This commit is contained in:
1 parent
d678378119
commit
fbfee926ca
7 files changed
+58
-18
No files matched your search
@@ -443,8 +443,8 @@ export default class Setting extends Component {
|
||||
} else {
|
||||
inverseClass($item, 'art-current');
|
||||
|
||||
for (let index = 0; index < item.$parent.selector.length; index++) {
|
||||
const element = item.$parent.selector[index];
|
||||
for (let index = 0; index < item.$option.length; index++) {
|
||||
const element = item.$option[index];
|
||||
element.default = element === item;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user