vue中在methods中使用filter里的方法 一般我们是在同一页面设置filters方法 filterName(val){ //里面写逻辑 } 然后想在methods中使用filters的方法 this.$options.filters['filterName'] (val)