1、在項目中安裝dayjs,命令為: npm install dayjs --save. 2、在main.js中,添加如下2句代碼. import dayjs from 'dayjs'; Vue.prototype.dayjs ...
確定! 回上一頁