mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 02:01:20 -08:00
build docs
This commit is contained in:
1 parent
ddfce350ec
commit
336627cae3
81 files changed
+1673
-1615
No files matched your search
@@ -249,7 +249,7 @@ class Artplayer extends (0, _emitterDefault.default) {
|
||||
return "development";
|
||||
}
|
||||
static get build() {
|
||||
return "2023-04-26 10:22:12";
|
||||
return "2023-04-26 10:26:26";
|
||||
}
|
||||
static get config() {
|
||||
return 0, _configDefault.default;
|
||||
@@ -4655,7 +4655,7 @@ class Setting extends (0, _componentDefault.default) {
|
||||
remove(name) {
|
||||
const item = this.find(name);
|
||||
(0, _error.errorHandle)(item, `Can't find [${name}] from the [setting]`);
|
||||
const parent = item.$parentItem ? item.$parentItem.selector : this.option;
|
||||
const parent = item.$parentItem?.selector || this.option;
|
||||
parent.splice(parent.indexOf(item), 1);
|
||||
this.option = Setting.makeRecursion(this.option);
|
||||
this.destroy();
|
||||
|
||||
Reference in new issue
Block a user