filter方法去重

filter方法去重:element

1, r = arr.filter(function (element, index, self) { io

 return self.indexOf(element) === index; 8 }); function

2,:visible.sync='show'簡寫爲:visible='show' @update:visible="val => show = val"
date

相關文章
相關標籤/搜索