<!--
 * @Author: ysh
 * @Date: 2025-06-16 16:26:24
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2025-06-16 17:09:31
-->
<template>
  <view>
    <borrow :taskForm="taskForm" :taskName="''" v-if="types == 'borrow'"></borrow>
  </view>
</template>

<script>
import borrow from '@/pages/form/borrow/borrow.vue'
export default {
  components: { borrow },
  created() {
    if (this.$route.query.formType == 'borrow') {
      this.taskForm.formId = this.$route.query.formId
      this.types = 'borrow'
    }
  },
  data() {
    return {
      taskForm: {
        formId: ''
      },
      types: ''
    }
  },
}
</script>

<style lang="scss" scoped></style>