mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-20 12:11:20 -08:00
重命名事件
This commit is contained in:
1 parent
a0e13479d3
commit
02915fcee5
10 files changed
+61
-61
No files matched your search
@@ -45,7 +45,7 @@ export default class Plugins {
|
||||
def(this, pluginName, {
|
||||
value: result,
|
||||
});
|
||||
this.art.emit('plugin:add', plugin);
|
||||
this.art.emit('pluginAdd', plugin);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
@@ -17,7 +17,7 @@ export default function miniProgressBar(art) {
|
||||
background: theme,
|
||||
},
|
||||
mounted($progressBar) {
|
||||
art.on('control:toggle', value => {
|
||||
art.on('controlToggle', value => {
|
||||
$progressBar.style.display = value ? 'none' : 'block';
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user