分类:
前端
多个参数往后面写即可
全局写一个过滤器:
Vue.filter("filter_link_front_behind",function(front,start,url,behind){ // console.log("---------------"); // console.log(front); // console.log(start); // console.log(url); // console.log(behind); return start+front+url+behind; })
使用:
:href="item.userName|filter_link_front_behind('http://m.xx.net/','/article/UserCategory/',item.aClassId)"
欢迎加群讨论技术,群:677373950(满了,可以加,但通过不了),2群:656732739
评价