CanadaMes-ui/src/views/Electrical/Sign.vue
@@ -64,7 +64,13 @@ }, activated(){ this.init(); this.record.xyData = this.jsonData.sign; const language = this.$i18n.locale; if (language === 'zh-CN') { this.replaceChineseWithEnglish(); } else { this.localizedRoles = [...this.record.xyData]; } }, methods: { showdata () { @@ -132,7 +138,7 @@ const language = this.$i18n.locale; if (language === 'en-US') { if (language === 'zh-CN') { this.replaceChineseWithEnglish(); } else { this.localizedRoles = [...this.record.xyData];