![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue技巧
dany_duan
这个作者很懒,什么都没留下…
展开
-
vue表单的正则
vue后台中,首页中使用了图表,需要根据屏幕自适应步骤如下:子组件: <template> <div :class="className" :style="{height:height,width:width,padding:padding}"/></template><script>import echarts from 'ech...原创 2019-10-09 09:57:25 · 189 阅读 · 0 评论 -
vue技巧之过滤器
常用的过滤器汇总//去除空格 type 1-所有空格 2-前后空格 3-前空格 4-后空格function trim(value, trim) { switch (trim) { case 1: return value.replace(/\s+/g, ""); case 2: return valu...转载 2019-10-08 16:29:22 · 126 阅读 · 0 评论