apps/cMiniApp/src/subpackages/task/components/CompanyTaskList.vue
@@ -15,7 +15,17 @@ name: 'CompanyTaskList', }); const { queryState, infiniteLoadingProps } = useTaskList(); type Props = { enterpriseId?: string; }; const props = withDefaults(defineProps<Props>(), {}); const { infiniteLoadingProps } = useTaskList({ defaultQueryMenuState: { enterpriseId: props.enterpriseId, }, }); function goTaskDetail(item: API.GetTaskInfosQueryResultItem) { Taro.navigateTo({