Custom datatype dynamic verification of Validform; return return res.msg is a string why it is also displayed successfully

$("- sharpaddFrom"). Validform ({

)
        datatype:{
              "zh2-4":/^[\u4E00-\u9FA5\uf900-\ufa2d]{2,4}$/,
              "ajaxCode": function(){
                  
                  $.ajax({
                        url:"${basePath}webCompanyInfo/check",
                        type:"POST",
                        data:data,
                        success:function(res){
                           
                            if(res.status){
                               return true;
                            }
                        },
                        error:function(){
                             return res.msg;
                        }
                    })
                    
                }
                
        },tiptype:function(msg,o,cssctl){
            
                
            
                if(!o.obj.is("form")){
                    if(o.type==2){
                    
                        
                        layer.tips("",o.obj,{tips:[2,"-sharp66ee99"]});
                    
                    }else{
                    
                        o.obj.css("border-color","-sharpfd5353");
                        layer.tips(msg,o.obj,{tips:[2,"-sharpfd5353"]});
                    }
                }
    }});
Jun.17,2021

has been resolved. It is a problem caused by async request

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-1b37150-e5b5.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-1b37150-e5b5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?