多维表格
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
416 B

<script lang="ts" setup>
import type { ProjectType } from 'nocodb-sdk'
import { ProjectInj, ProjectRoleInj } from '#imports'
const props = defineProps<{
projectRole: string | string[]
project: ProjectType
}>()
const projectRole = toRef(props, 'projectRole')
const project = toRef(props, 'project')
provide(ProjectRoleInj, projectRole)
provide(ProjectInj, project)
</script>
<template>
<slot />
</template>