I bound an out-of-focus event to an element, but the undefined, code for printing this directly in the out-of-focus event function is as follows:
<input id="peopleName" bindblur="VerifyName" type="text" placeholder="" placeholder-class="placeholder"></input>
VerifyName:e=>{
console.log(this); //undefined
const testName = /^[\u4E00-\u9FA5\uf900-\ufa2ds]{2,20}$/;
if (testName.test(e.detail.value)) {
console.log("");
} else {
console.log("");
}
}