Skip to content

Commit 4622ba0

Browse files
committed
fix(uni-app-components): add missing slot
1 parent 2e77196 commit 4622ba0

File tree

6 files changed

+18
-6
lines changed

6 files changed

+18
-6
lines changed

packages/uni-app-components/src/components/AdContentPage/AdContentPage.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ const props = defineProps<AdContentPageProps>();
99
</script>
1010

1111
<template>
12-
<ad-content-page :props></ad-content-page>
12+
<ad-content-page :props>
13+
<slot></slot>
14+
</ad-content-page>
1315
</template>

packages/uni-app-components/src/components/AdDraw/AdDraw.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ const props = defineProps<AdDrawProps>();
99
</script>
1010

1111
<template>
12-
<ad-draw :props></ad-draw>
12+
<ad-draw :props>
13+
<slot></slot>
14+
</ad-draw>
1315
</template>

packages/uni-app-components/src/components/AdFullscreenVideo/AdFullscreenVideo.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ const props = defineProps<AdFullscreenVideoProps>();
99
</script>
1010

1111
<template>
12-
<ad-fullscreen-video :props></ad-fullscreen-video>
12+
<ad-fullscreen-video :props>
13+
<slot></slot>
14+
</ad-fullscreen-video>
1315
</template>

packages/uni-app-components/src/components/AdInteractive/AdInteractive.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ const props = defineProps<AdInteractiveProps>();
99
</script>
1010

1111
<template>
12-
<ad-draw :props></ad-draw>
12+
<ad-draw :props>
13+
<slot></slot>
14+
</ad-draw>
1315
</template>

packages/uni-app-components/src/components/Input/Input.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ const props = defineProps<InputProps>();
99
</script>
1010

1111
<template>
12-
<input :props></input>
12+
<input :props>
13+
<slot></slot>
14+
</input>
1315
</template>

packages/uni-app-components/src/components/View/View.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ const props = defineProps<ViewProps>();
99
</script>
1010

1111
<template>
12-
<view :props></view>
12+
<view :props>
13+
<slot></slot>
14+
</view>
1315
</template>

0 commit comments

Comments
 (0)