zhengyiming
8 天以前 fbfe0d346033b4234ff86b376039fdb71bce37f8
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({