<a class="topic_title" v-bind:href="info.id|getTitleHref" v-bind:title="info.title">{{info.title}}</a>
下面是Vue的代码
var vm = new Vue({
el:'#topic_list',
data:data,
filters:{
getTitleHref:function(val){ return 'https://cnodejs.org/topic/' + val } } })