mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-06-22 18:05:17 +08:00
feat(editor): 新增可以移除所有service插件的方法
This commit is contained in:
parent
180252f3f5
commit
67c7faf832
@ -169,6 +169,11 @@ export default class extends EventEmitter {
|
||||
});
|
||||
}
|
||||
|
||||
public removeAllPlugins() {
|
||||
this.pluginOptionsList = {};
|
||||
this.middleware = {};
|
||||
}
|
||||
|
||||
private async doTask() {
|
||||
this.doingTask = true;
|
||||
let task = this.taskList.shift();
|
||||
|
Loading…
x
Reference in New Issue
Block a user