<template>
  <view>
    <positionItem :jobId="jobId"></positionItem>
  </view>
</template>
<script setup>
import { ref } from 'vue'
import { onLoad } from '@dcloudio/uni-app'
import positionItem from '@/components/positionItem'

const jobId = ref('')
const props = defineProps({
  jobId: String
})

onLoad((options) => {
  jobId.value = options?.jobId || props.jobId || ''
})

</script>