feat(editor): 新增可以移除所有service插件的方法

This commit is contained in:
roymondchen 2022-12-06 19:14:34 +08:00
parent 180252f3f5
commit 67c7faf832

View File

@ -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();