Skip to content

Commit 63338e6

Browse files
author
Json_Lee
committed
fix: 修复bubbleList范型bug
1 parent dfd399f commit 63338e6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apps/playground/src/assets/mock.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { BubbleProps } from "../../../../packages/components/types/components/Bubble/type";
2-
import type { BubbleListProps } from "../../../../packages/components/types/components/BubbleList/type";
1+
import type { BubbleProps } from "vue-element-plus-x/types/components/Bubble/types";
2+
import type { BubbleListProps } from "vue-element-plus-x/types/components/BubbleListProps/types";
33

44
let avatar =
55
"https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png";

apps/playground/src/components/demo-useBubbleList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function scrollToBubble() {
9393
9494
onMounted(() => {
9595
setTimeout(() => {
96-
bubbleItems.value.map((item) => {
96+
bubbleItems.value.map((item: MessageItem) => {
9797
item.loading = false;
9898
});
9999
}, 3000);

0 commit comments

Comments
 (0)