Check.js 361 Bytes
Newer Older
潘际乾 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
import Utils from "~/utils"

/**
* Sptrel Check规则
*/
let checkObj = {
    "inidatfro"                      :null,
    "inidattil"                      :null,
}

for (const key in checkObj) {
    if (Object.hasOwnProperty.call(checkObj, key)) {
        checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
    }
}
export default checkObj