import 'dayjs/locale/zh-cn'; dayjs.locale('zh-cn');. 使用以上两句代码后,就可以愉快的输出中文了。 12.格式化时间. 使用day.js ...
確定! 回上一頁