filter中的this是全局的不是指向的vue实例,那么也就不能使用this.xxx
this.xxx
<script> let that export default { } </script>
beforeCreate () { that = this }