wupengfei
3 天以前 fbbab8161cb1a10f44c685ef6074d2f40020ceed
apps/cMiniApp/src/subpackages/task/components/CompanyInfo.vue
@@ -50,11 +50,15 @@
type Props = {
  enterpriseId?: string;
  supplierEnterpriseId?: string;
};
const props = withDefaults(defineProps<Props>(), {});
const { enterpriseDetail } = useEnterpriseDetail({ id: toRef(props, 'enterpriseId') });
const { enterpriseDetail } = useEnterpriseDetail({
  id: toRef(props, 'enterpriseId'),
  supplierEnterpriseId: toRef(props, 'supplierEnterpriseId'),
});
</script>
<style lang="scss">