+ {{ aa }}
@@ -78,7 +79,7 @@
{{ $t('user.question2') }}
-
@@ -332,9 +333,20 @@ export default {
this.pkObj = this.pkId === e.roleId ? e : []
this.active1 = this.pkId === e.roleId
this.checkedKeys = [...e.menus1]
- this.$nextTick(() => {
- this.$refs.tree.setCheckedKeys(this.checkedKeys)
- })
+ // this.$nextTick(() => {
+ // this.$refs.tree.setCheckedKeys(this.checkedKeys)
+ // })
+ if (this.$i18n.locale === 'zh-cn') {
+ this.defaultProps = {
+ children: 'children',
+ label: 'zhTitle'
+ }
+ } else if (this.$i18n.locale === 'en-us') {
+ this.defaultProps = {
+ children: 'children',
+ label: 'enTitle'
+ }
+ }
},
toCancle1 () {
this.active1 = false
diff --git a/src/pages/modules/vehicleinformation/vehiclecontrol.vue b/src/pages/modules/vehicleinformation/vehiclecontrol.vue
index 700ec55..c13ce0a 100644
--- a/src/pages/modules/vehicleinformation/vehiclecontrol.vue
+++ b/src/pages/modules/vehicleinformation/vehiclecontrol.vue
@@ -12,11 +12,11 @@
{{ $t('vehiclecontrol.deviationstate') }}:
-
{{status.inLineStatus_name}}
+
{{$i18n.locale === 'en-us' ? status.en_inLineStatus_name : status.zh_inLineStatus_name }}
{{ $t('vehiclecontrol.updatestatus') }}:
-
{{status.UpdateStatus_name}}
+
{{$i18n.locale === 'en-us' ? status.en_UpdateStatus_name : status.zh_UpdateStatus_name }}
diff --git a/src/pages/shells/index/index.vue b/src/pages/shells/index/index.vue
index cb5e21e..247d1a3 100644
--- a/src/pages/shells/index/index.vue
+++ b/src/pages/shells/index/index.vue
@@ -18,8 +18,8 @@