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
相关文章
相关标签/搜索