Check.js 289 Bytes Edit 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 import Utils from "~/utils" /** * Busvol Check规则 */ let checkObj={ "" :null, } for (const key in checkObj) { if (Object.hasOwnProperty.call(checkObj, key)) { checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key) } } export default checkObj