vue中处理时间格式的方法

第一步:安装并引入moment (import moment from "moment");

第二步:封装一个方法

猜你喜欢

转载自blog.csdn.net/qq_48294048/article/details/124727964