vue獲取系統時間的先後幾天(親測可用)

export default { data () {web return { cancelTime: '', } }, mounted () { this.cancelTime = this.format(new Date(),day) }, methods: { format (date,day) { var nd = date nd = nd.valueOf() nd = nd + d
相關文章
相關標籤/搜索