fix(场景自动化) 修复页面初始化时插件步骤不加载问题
This commit is contained in:
parent
7f768a7b92
commit
1f11263068
|
@ -465,9 +465,10 @@ export default {
|
|||
this.getWsProjects();
|
||||
this.getMaintainerOptions();
|
||||
this.getApiScenario();
|
||||
this.getPlugins();
|
||||
this.initPlugins();
|
||||
this.buttonData = buttons(this);
|
||||
this.getPlugins().then(() => {
|
||||
this.initPlugins();
|
||||
});
|
||||
},
|
||||
mounted() {
|
||||
this.$nextTick(() => {
|
||||
|
@ -528,6 +529,7 @@ export default {
|
|||
}
|
||||
},
|
||||
getPlugins() {
|
||||
return new Promise((resolve) => {
|
||||
let url = "/plugin/list";
|
||||
this.plugins = [];
|
||||
this.$get(url, response => {
|
||||
|
@ -543,6 +545,8 @@ export default {
|
|||
}
|
||||
})
|
||||
}
|
||||
resolve();
|
||||
});
|
||||
});
|
||||
},
|
||||
stop() {
|
||||
|
|
Loading…
Reference in New Issue