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

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

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

</script>