Check.js 434 Bytes
Newer Older
1 2 3 4 5 6
import Utils from "~/utils"

/**
* Fctcan Check规则
*/
let checkObj = {
潘际乾 committed
7 8 9
    "fcdgrp.apl.pts.extkey"                      :null,
    "fcdgrp.apl.pts.nam"                      :null,
    "fcdgrp.rec.ownref"                      :null,
10 11 12 13 14 15 16 17 18
}

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