时间,星期显示优化

qianming 3 years ago
parent ff1a5b9d2c
commit bfd85adbec

@ -103,7 +103,7 @@ export default {
const dayCycleArray = ["日", "一", "二", "三", "四", "五", "六"]; const dayCycleArray = ["日", "一", "二", "三", "四", "五", "六"];
for (let i = 0; i < 7; i++) { for (let i = 0; i < 7; i++) {
if (dayCycle == i) { if (dayCycle == i) {
dayCycle = "星期" + dayCycleArray[i]; dayCycle = " 星期" + dayCycleArray[i];
} }
} }
if (fmt == "year-week") { if (fmt == "year-week") {

Loading…
Cancel
Save