wupengfei
4 天以前 37e6ed1a122f6791b77fe8574fa2ff3ad1079b68
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({