工作台时间显示问题
continuous-integration/drone/push Build is running
Details
continuous-integration/drone/push Build is running
Details
parent
09e5bcb3b7
commit
9d601b4a46
|
|
@ -88,7 +88,7 @@
|
|||
<span style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;max-width: 150px">{{
|
||||
user.RealName }}</span>
|
||||
</div>
|
||||
<div style="font-size: .75rem;line-height: 18px;color:#999" v-if="NODE_ENV !== 'usa'">{{ new
|
||||
<div style="font-size: .75rem;line-height: 18px;color:#999" v-if="isEN">{{ new
|
||||
Date().getFullYear() }}{{ $t('common:date:today') }}{{ new Date().getMonth() +
|
||||
1 }}{{ $t('common:date:month') }}{{ new Date().getDate() }}{{ $t('common:date:day') }},{{ dayOfWeek }}
|
||||
</div>
|
||||
|
|
@ -644,7 +644,10 @@ export default {
|
|||
},
|
||||
computed: {
|
||||
...mapGetters(['userId', 'name']),
|
||||
...mapState('user', ['isTestUser'])
|
||||
...mapState('user', ['isTestUser']),
|
||||
isEN() {
|
||||
return this.$i18n.locale !== 'zh'
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
this.getUserTobeDoneRecord()
|
||||
|
|
|
|||
Loading…
Reference in New Issue