zhengyiming
4 天以前 acd6c55ea7b11e06130c20bcd5ffd98c8e880a1f
apps/bMiniApp/src/subpackages/jobApplicationManage/components/JobDetail.vue
@@ -67,7 +67,7 @@
// const props = withDefaults(defineProps<Props>(), {});
const router = Taro.useRouter();
const taskId = router.params?.taskId;
const id = router.params?.id;
const {
  isLoading,
@@ -75,10 +75,10 @@
  data: detail,
  refetch,
} = useQuery({
  queryKey: ['taskServices/getTaskInfo', taskId],
  queryKey: ['taskServices/getTaskInfo', id],
  queryFn: async () => {
    return await taskServices.getTaskInfo(
      { id: taskId },
      { id: id },
      {
        showLoading: false,
      }