refactor(系统设置): 系统设置左侧菜单默认展开

This commit is contained in:
fit2-zhao 2022-07-06 19:00:29 +08:00 committed by f2c-ci-robot[bot]
parent dcb8ad92d9
commit 25b00d7402
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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'),