Please help me to see what this code means.

var checkCardID = (rule, value, callback) = > {

        setTimeout(() => {
            if(this.form.personIdInfoType === "20000"){
                if (idCardNoUtil.checkIdCardNo(value)) {
                    callback();
                } else {
                    callback(new Error(""));
                }
            }else{
                callback();
            }
        }, 1);
        callback  
May.09,2021

The parameter callback passed in the

checkCardID method is a callback method called by, callback (). You will know the usage of the js callback function in Baidu.
for example, when we call the checkCardID method, we can write it as follows:

  

as answered above, the third argument to the checkCardID function is a function (callback), callback () that is called

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3665d-2c013.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3665d-2c013.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?