refactor(任务中心): 部分编译warning代码优化

This commit is contained in:
fit2-zhao 2022-11-10 09:51:54 +08:00 committed by f2c-ci-robot[bot]
parent 1a68c65b9d
commit d8829839de
2 changed files with 2 additions and 2 deletions

View File

@ -170,7 +170,7 @@ export default {
@import "~jsondiffpatch/dist/formatters-styles/html.css"; @import "~jsondiffpatch/dist/formatters-styles/html.css";
@import "~jsondiffpatch/dist/formatters-styles/annotated.css"; @import "~jsondiffpatch/dist/formatters-styles/annotated.css";
.env-history >>> pre { .env-history :deep(pre) {
white-space: normal; white-space: normal;
} }
</style> </style>

View File

@ -84,7 +84,7 @@
</div> </div>
<el-divider direction="horizontal" style="width: 100%"/> <el-divider direction="horizontal" style="width: 100%"/>
<el-tabs v-model="activeName" @tab-click="init(true)" v-loading="loading"> <el-tabs v-model="activeName" @tab-click="init(true)" v-loading="loading">
<el-tab-pane :name="tab.id" :label="tab.label" v-for="tab in tabs" :disabled="isDebugHistory"> <el-tab-pane :key="tab.id" :name="tab.id" :label="tab.label" v-for="tab in tabs" :disabled="isDebugHistory">
<span slot="label"> <span slot="label">
<el-badge class="ms-badge-item" v-if="showBadge(tab.id) > 0" :value="showBadge(tab.id)"> <el-badge class="ms-badge-item" v-if="showBadge(tab.id) > 0" :value="showBadge(tab.id)">
{{ tab.label }} {{ tab.label }}