添加更多事件

This commit is contained in:
Harvey Zack committed 2018-11-24 10:57:05 +08:00
1 parent 2eb76650ba
commit 746e059a31
4 files changed
+4 -2

No files matched your search

+1
View File
@@ -19,6 +19,7 @@ export default class Plugins {
pluginName = `plugin${this.id}`;
}
this[pluginName] = result;
this.art.emit('plugin:add', plugin);
return this;
}
}