export default{
	data(){
		return{
			rules:{
            "recgrp.ads.actiondesc":[
                {max: 128,message:"长度不能超过128"},
                {validator:(rule,value,callback)=>{
                    if(this.model.recgrp.ads.opertype=="2" || this.model.recgrp.ads.opertype=="3"){
                        if(value ==""){
                        return callback(new Error('必输项'))
                        }
                    }
                    callback()
                }}
            ]

  }
}
}
}