let winLnxPax = /[^<>/\\\|:""\*\?]+\.\w+$/; if (!winLnxPax.test(self.formItem.jarLocation)) { //校验不通过 }else{ //校验通过 }