Commit 21ddc400 authored by 华国豪's avatar 华国豪 🙄

1

parent 3ca0bda6
......@@ -232,8 +232,9 @@
}, err => {})
},
getWeekByDay(dayValue) {
let _this = this;
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_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()];
},
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