摘要:
js文件 export default { /** * 计算时间差天数 * @param {String} sDate1 * @param {String} sDate2 */ datedifference(sDate1, sDate2) { //sDate1和sDate2是yyyy-mm-dd格式 阅读全文
posted @ 2021-03-10 17:59
挽你手
阅读(514)
评论(0)
推荐(0)
摘要:
默认在时间选择器里面 js文件 // 时间格式化// Format 在组件created里引用 Date.prototype.Format = function (fmt) { // author: meizz var o = { "M+": this.getMonth() + 1, // 月份 " 阅读全文
posted @ 2021-03-10 17:34
挽你手
阅读(891)
评论(0)
推荐(0)

浙公网安备 33010602011771号