<template>
  <div class="p-50">
    <DragVerify v-model:value="postForm.isUnLock"></DragVerify>
    <hr />
    <!-- <a-button @click="send">submit</a-button> -->
    <a-button @click="reset">reset</a-button>
    <hr />
    {{ postForm }}
  </div>
</template>

<script setup lang="ts">
import type { UploadFile } from 'ant-design-vue'
// import { genInitFileList } from '@/utils'

const postForm = ref({
  isUnLock: false,
})
// setTimeout(() => {
//   postForm.value.isUnLock = true
// }, 1000)

const send = () => {
  console.log(toRaw(postForm))

}

const reset = () => {
  // console.log(toRaw(postForm))
  postForm.value.isUnLock = false
}
</script>
<style scoped></style>

