home.js 212 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 7 8 9 'use strict'; module.exports = function* () { const dataArr = yield this.service.user.list(this); this.body = { hasRows: dataArr[0].length > 0 && dataArr[1].length > 0 && dataArr[2].length > 0, }; };