Commit b2bfdf0ded53d99f942ee21a2e4d31549bc8ad7c

Authored by xp.Huang
2 parents 903f93b9 0b99fdf8

Merge branch 'fix/DEFECT-2935' into 'main_dev'

fix: 修复切换为英文展示显示为了 中文

See merge request yunteng/thingskit-app!163
... ... @@ -25,7 +25,7 @@
25 25 <view v-if="item.statusName">
26 26 {{ $t('device.commandStatus') }}:
27 27 <text :style="{color:formatCommandStatus(item.status)}" class="ml-16">
28   - {{ item.statusName }}
  28 + {{ statusEnum[item.status]?$t(statusEnum[item.status]):item.statusName }}
29 29 </text>
30 30 </view>
31 31 <view class="item-first">
... ... @@ -112,6 +112,11 @@
112 112 page: {
113 113 num: 0,
114 114 size: 10
  115 + },
  116 + statusEnum:{
  117 + SUCCESSFUL:'device.responseSuccess',
  118 + EXPIRED:'device.expired',
  119 + DELIVERED:'device.successSent',
115 120 }
116 121 };
117 122 },
... ...