Commit d898f0f7 authored by zhengke's avatar zhengke

国际化没有加对

parent 1ad4d06a
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
}, },
getWeekByDay(dayValue) { getWeekByDay(dayValue) {
var day = new Date(Date.parse(dayValue.replace(/-/g, '/'))); var day = new Date(Date.parse(dayValue.replace(/-/g, '/')));
var today = new Array(this.$t('adm.adm_Sunday'), this.$t('adm.adm_Monday'), this.$t('adm.adm_adm_Tuesday'), this.$t('adm.adm_Wednesday'), this.$t('adm.adm_Thursday'), this.$t('adm.adm_Friday'), this.$t('adm.adm_Saturday')); var today = new Array(this.$t('adm.adm_Sunday'), this.$t('adm.adm_Monday'), this.$t('adm.adm_Tuesday'), this.$t('adm.adm_Wednesday'), this.$t('adm.adm_Thursday'), this.$t('adm.adm_Friday'), this.$t('adm.adm_Saturday'));
return today[day.getDay()]; return today[day.getDay()];
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment