<template>
  <view>
    <position :jobId="jobId" :fairId="jobFairId" :isClone="isClone" />
  </view>
</template>

<script setup>
import { ref } from 'vue'
import { onLoad } from '@dcloudio/uni-app'
import position from '@/components/positionItem'

const jobId = ref('')
const jobFairId = ref('')
const isClone = ref(false)

onLoad((options) => {
	jobFairId.value = options.jobFairId
  jobId.value = options.jobId
  if (options?.isClone) isClone.value = true
})
</script>