摘要: vue中的computed无法直接像methos一样传参,但我们可以使用利用闭包 computed:{ getDisabled(){ return (row)=>{ return row.id=1 } } } 阅读全文
posted @ 2021-04-10 23:16 coffeemil 阅读(470) 评论(0) 推荐(0) 编辑