vue 判断数组是否为空 //为空: array == undefined || array.length <= 0 (顺序不能调换) //不为空: array !==undefined && array.length > 0