Vue-simplemde 's use of async-validator authentication did not trigger a validation event

the project framework is IView, and then references vue-simplemde and validates its text, using async-validator, but without triggering events,

<Row>
    <Col span="24">
        <FormItem label="" prop="positionDesc">
            <markdown-editor :configs="meConfig" v-model.trim="positionForm.items.positionDesc"></markdown-editor>
                </FormItem>
    </Col>
</Row>
import markdownEditor from "vue-simplemde/src/markdown-editor"
import "simplemde/dist/simplemde.min.css";

data(){
    const validatorPositionDesc = (rule,value,callback)=>{
        console.log("value === ",value);
        
        if(value.length <= 0){
               callback("");
        }
        else{
               callback();
        }
    }
    return{
       positionForm:{
            items:{
                positionDesc: ""
            },
        rules:{
                    positionDesc:[{
                        required:true,
                        validator:validatorPositionDesc,// 
                        trigger:"change"
                    }],
                }
            },    
        }
    }
}

clipboard.png

Mar.30,2021

there is no way but to verify it again, probably because the first time did not trigger the verification and the second time!

// 
            setTimeout(()=>{
                this.$refs.positionform.validate((valid) => {});
            },1000);
Menu