typo(ScenarioResult): getLable -> getLabel

Signed-off-by: Ryan Wang <i@ryanc.cc>
This commit is contained in:
Ryan Wang 2022-06-21 10:25:29 +08:00 committed by fit2-zhao
parent 70ce292fff
commit 23ec1794fa
1 changed files with 3 additions and 3 deletions

View File

@ -10,9 +10,9 @@
</div> </div>
<el-tooltip effect="dark" :content="node.label" placement="top"> <el-tooltip effect="dark" :content="node.label" placement="top">
<el-link v-if="node.redirect" class="report-label-head" @click="isLink"> <el-link v-if="node.redirect" class="report-label-head" @click="isLink">
{{ getLable(node.label) }} {{ getLabel(node.label) }}
</el-link> </el-link>
<span v-else>{{ getLable(node.label) }}</span> <span v-else>{{ getLabel(node.label) }}</span>
</el-tooltip> </el-tooltip>
</el-card> </el-card>
</div> </div>
@ -70,7 +70,7 @@ export default {
} }
}, },
methods: { methods: {
getLable(label) { getLabel(label) {
switch (label) { switch (label) {
case "ConstantTimer": case "ConstantTimer":
return "等待控制器"; return "等待控制器";