Vue 实现前端银行卡隐藏中间的数字 主要应用了 filters过滤器 来实现效果 实现效果,如图: HTML代码: <template> <div> <div style="background-color: #f4f4f4;margin:50px 0 0 460px;width:900px;height:300px;"