Vue共2篇
Vue入门:常用指令的用法-it同学

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...
久畔的头像-it同学久畔3年前
022211
Vue 时间过滤器函数整理-it同学

Vue 时间过滤器函数整理

可根据传入参数的格式自动匹配 使用方法 <div id='app'> <div>{{date | format('yyyy-MM-dd')}}</div> </div> 过滤器函数 function dateFormat(date, format) { if (typeof date ==...
久畔的头像-it同学久畔3年前
023214