Skip to content

Commit

Permalink
Merge pull request #290 from YeungHoiChiu/fix-stepshow-webviewName
Browse files Browse the repository at this point in the history
fix: stepShow中部份步骤显示文字取值错误
  • Loading branch information
ZhouYixun authored Aug 8, 2024
2 parents 819e457 + b54d000 commit 60b3831
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/components/StepShow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -248,31 +248,31 @@ const getNotes = (text, type) => {
</span>
<span v-if="step.stepType === 'airPlaneMode'">
<el-tag size="small" style="margin-right: 10px">{{
$t('stepDetail.androidOptions.network.airPlaneMode')
$t('stepDetail.label.androidOptions.network.airPlaneMode')
}}</el-tag
>{{
step.content === 'true' ? $t('stepDetail.open') : $t('stepDetail.close')
}}
</span>
<span v-if="step.stepType === 'wifiMode'">
<el-tag size="small" style="margin-right: 10px">{{
$t('stepDetail.androidOptions.network.wifiMode')
$t('stepDetail.label.androidOptions.network.wifiMode')
}}</el-tag
>{{
step.content === 'true' ? $t('stepDetail.open') : $t('stepDetail.close')
}}
</span>
<span v-if="step.stepType === 'locationMode'">
<el-tag size="small" style="margin-right: 10px">{{
$t('stepDetail.androidOptions.network.locationMode')
$t('stepDetail.label.androidOptions.network.locationMode')
}}</el-tag
>{{
step.content === 'true' ? $t('stepDetail.open') : $t('stepDetail.close')
}}
</span>
<span v-if="step.stepType === 'switchWindowMode'">
<el-tag size="small" style="margin-right: 10px">{{
$t('stepDetail.androidOptions.element.switchWindowMode')
$t('stepDetail.label.androidOptions.element.switchWindowMode')
}}</el-tag
>{{
step.content === 'true'
Expand All @@ -282,7 +282,7 @@ const getNotes = (text, type) => {
</span>
<span v-if="step.stepType === 'switchIgnoreMode'">
<el-tag size="small" style="margin-right: 10px">{{
$t('stepDetail.androidOptions.element.switchIgnoreMode')
$t('stepDetail.label.androidOptions.element.switchIgnoreMode')
}}</el-tag
>{{
step.content === 'true'
Expand All @@ -292,7 +292,7 @@ const getNotes = (text, type) => {
</span>
<span v-if="step.stepType === 'switchVisibleMode'">
<el-tag size="small" style="margin-right: 10px">{{
$t('stepDetail.androidOptions.element.switchVisibleMode')
$t('stepDetail.label.androidOptions.element.switchVisibleMode')
}}</el-tag
>{{
step.content === 'true' ? $t('stepDetail.display') : $t('stepDetail.hide')
Expand Down Expand Up @@ -414,7 +414,7 @@ const getNotes = (text, type) => {
<el-tag size="small" style="margin-right: 10px">{{
$t('stepDetail.switch.webview')
}}</el-tag>
{{ $t('stepDetail.webviewName') }}:{{ step.content }}
{{ $t('stepDetail.WebviewName') }}:{{ step.content }}
</span>
<span v-if="step.stepType === 'toHandle'">
<el-tag size="small" style="margin-right: 10px">{{
Expand Down

0 comments on commit 60b3831

Please sign in to comment.