zhengyiming
2025-08-08 719191eede701c122f2afc2e8c0c76da201eb1cb
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({