Skip to content

Commit

Permalink
fix(uni-app-components): add missing slot
Browse files Browse the repository at this point in the history
  • Loading branch information
ModyQyW committed Sep 1, 2024
1 parent 2e77196 commit 4622ba0
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ const props = defineProps<AdContentPageProps>();
</script>

<template>
<ad-content-page :props></ad-content-page>
<ad-content-page :props>
<slot></slot>
</ad-content-page>
</template>
4 changes: 3 additions & 1 deletion packages/uni-app-components/src/components/AdDraw/AdDraw.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ const props = defineProps<AdDrawProps>();
</script>

<template>
<ad-draw :props></ad-draw>
<ad-draw :props>
<slot></slot>
</ad-draw>
</template>
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ const props = defineProps<AdFullscreenVideoProps>();
</script>

<template>
<ad-fullscreen-video :props></ad-fullscreen-video>
<ad-fullscreen-video :props>
<slot></slot>
</ad-fullscreen-video>
</template>
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ const props = defineProps<AdInteractiveProps>();
</script>

<template>
<ad-draw :props></ad-draw>
<ad-draw :props>
<slot></slot>
</ad-draw>
</template>
4 changes: 3 additions & 1 deletion packages/uni-app-components/src/components/Input/Input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ const props = defineProps<InputProps>();
</script>

<template>
<input :props></input>
<input :props>
<slot></slot>
</input>
</template>
4 changes: 3 additions & 1 deletion packages/uni-app-components/src/components/View/View.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ const props = defineProps<ViewProps>();
</script>

<template>
<view :props></view>
<view :props>
<slot></slot>
</view>
</template>

0 comments on commit 4622ba0

Please # to comment.