day.js如何显示成中文格式的时间 let d=dayjs().format("YYYY[年]-MM[月]-DD[日]") //要自定义字符需要加中括号 console.log(d) //2020年-12月-14日