Element UI Message is triggered repeatedly when both input boxes are used to check the pop-up box.

  <el-input style="width:336px;height:20px;"
    placeholder=""
    v-model="creditCode"
    @blur="creditInfo"
    :maxlength=25>
 </el-input>
        
    <el-input style="width:336px;height:20px;"
        placeholder=""
        v-model="creditCode"
        @blur="creditInfo"
        :maxlength=25>
  </el-input>
  
  
  
  this.$alert("","", {
    confirmButtonText: "",
    beforeClose: (action, instance, done) => {
      console.log(33333)
    },
    callback:function(){
        console.log(3432)
             Message.close()
    }
  });
  
  
  

clipboard.png

both input boxes have a check. When I locate the cursor to the first input box and enter nothing, it will repeatedly trigger the blur event pop-up box. What if the pop-up box cannot disappear?


caused by two input identical v-model blur

Menu