Form-create 全局校验api const handleAdd = async() => { await fApi.value.validate() // 校验表单 drawer.value = true }