<el-form-item>
<template #label>
<el-tooltip :content="$t('plan.jichab')" placement="top">
<span>{{ $t('plan.jichab') }}</span>
</el-tooltip>
</template>
<el-switch v-model="specialCauseTests.rbar.test_1_enabled" />
</el-form-item>
css
::v-deep .el-form--label-top .el-form-item__label {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: inline-block;
width: 100px;
}