使用一个函数来完成你的需求在
methods: { isShowHead(col) { for (let i = 0; i < col.length; i++) { if (col[i]) { return true; } } return false; },