uniapp 的 uni-dateformat 获取时间_data 获取格式化后的时间
前言
在使用uniapp开发移动端时,可以通过插件uni-dateformat格式化时间,本文讲的是如何获取格式化后的时间,传递给后台。
在uniapp官网示例中,没有说如何获取到uni-dateformat格式化后的数据,该方法实在论坛中找到的,亲测可以使用
效果
代码
完成
开源中国博客地址:https://my.oschina.net/u/2998098/blog/1540520