vue 在模板template中变量和字符串拼接 例子: :post-action="'/api/v1/reportPage/'+this.selectedPagerId+'/saveimg/'" 踩过这个坑,还有下一个坑等着你,这一路就是给自己填坑,坑填多了,也就习惯了,直到这一路平坦了,也就无怨无悔了。