typo(ScenarioResult): getLable -> getLabel
Signed-off-by: Ryan Wang <i@ryanc.cc>
This commit is contained in:
parent
70ce292fff
commit
23ec1794fa
|
@ -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 "等待控制器";
|
||||||
|
|
Loading…
Reference in New Issue