v-for 时 :key的绑定

:key = "symbol(item.id)"

 

methods : {

  symbol: val = > symbol(val)

}

posted @ 2018-11-30 19:03  不服憋着  阅读(463)  评论(0编辑  收藏  举报