refactor(系统设置): 系统设置左侧菜单默认展开
This commit is contained in:
parent
dcb8ad92d9
commit
25b00d7402
|
@ -35,7 +35,6 @@ public class APISingleResultListener implements MsExecListener {
|
||||||
@Override
|
@Override
|
||||||
public void handleTeardownTest(List<SampleResult> results, ResultDTO dto, Map<String, Object> kafkaConfig) {
|
public void handleTeardownTest(List<SampleResult> results, ResultDTO dto, Map<String, Object> kafkaConfig) {
|
||||||
LoggerUtil.info("接收到执行结果:" + results.size(), dto.getReportId());
|
LoggerUtil.info("接收到执行结果:" + results.size(), dto.getReportId());
|
||||||
LoggerUtil.info("接收到执行结果开始处理报告【" + dto.getReportId() + " 】,资源【 " + dto.getTestId() + " 】");
|
|
||||||
queues.addAll(results);
|
queues.addAll(results);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<el-menu menu-trigger="click" :default-active="$route.path" router class="setting">
|
<el-menu menu-trigger="click" :default-active="$route.path" :default-openeds="opends" router class="setting">
|
||||||
<el-submenu index="1" v-permission="systemPermission">
|
<el-submenu index="1" v-permission="systemPermission">
|
||||||
<template v-slot:title>
|
<template v-slot:title>
|
||||||
<font-awesome-icon class="icon account" :icon="['far', 'address-card']" size="lg"/>
|
<font-awesome-icon class="icon account" :icon="['far', 'address-card']" size="lg"/>
|
||||||
|
@ -48,6 +48,7 @@ export default {
|
||||||
return menus;
|
return menus;
|
||||||
};
|
};
|
||||||
return {
|
return {
|
||||||
|
opends: ['0','1','2'],
|
||||||
systems: getMenus('system'),
|
systems: getMenus('system'),
|
||||||
workspaces: getMenus('workspace'),
|
workspaces: getMenus('workspace'),
|
||||||
project: getMenus('project'),
|
project: getMenus('project'),
|
||||||
|
|
Loading…
Reference in New Issue