JS 根据date日期格式返回周几
/**
* @description 返回周几
* @author fzg
*/
export const dateToWeek = (date) => {
return "周" + "日一二三四五六".charAt(new Date().getDay());
}
/**
* @description 返回周几
* @author fzg
*/
export const dateToWeek = (date) => {
return "周" + "日一二三四五六".charAt(new Date().getDay());
}