vue 判斷數組是否爲空

爲空:array == undefined || array.length <= 0 (順序不能調換)undefined

不爲空: array !==undefined && array.length > 0 

相關文章
相關標籤/搜索