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

/**
* Cptrel Check规则
*/
let checkObj = {
    "trncorco.inidatfro"                      :null,
taojinrui committed
8
    "coninf.conexedat"                      :null,
9
    "trncorco.inidattil"                      :null,
taojinrui committed
10
    "trn.inr"                      :null,
11
    "ptyextkey"                      :null,
taojinrui committed
12
    "trn.inftxt"                      :null,
13 14 15 16 17 18 19 20 21
}

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