排序
Vue入门:常用指令的用法
代码如下 <!DOCTYPE html> <html lang='en'> <head> <meta charset='UTF-8'> <meta http-equiv='X-UA-Compatible' content='IE=edge'> <meta name='viewport' content='width...
Vue 时间过滤器函数整理
可根据传入参数的格式自动匹配 使用方法 <div id='app'> <div>{{date | format('yyyy-MM-dd')}}</div> </div> 过滤器函数 function dateFormat(date, format) { if (typeof date ==...