This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<!-- 直播区域 -->
|
||||
|
||||
<view class="danmaku-box">
|
||||
<vue-danmaku ref="danmakuRef" class="danmaku" v-model:danmus="danmus" useSlot loop :speeds="100">
|
||||
<vue-danmaku ref="danmakuRef" class="danmaku" v-model:danmus="danmus" useSlot :speeds="100">
|
||||
<template v-slot:dm="{ danmu }">
|
||||
<view class="flex items-center text-box">
|
||||
<image class="w-[45px] h-[45px] mr-[10px] rounded-full" :src="danmu.User.avatarUrl"></image>
|
||||
@@ -208,7 +208,7 @@ import wzj from "../../static/wzj.json";
|
||||
import zj from "../../static/zj.json";
|
||||
import vueDanmaku from "vue3-danmaku";
|
||||
|
||||
onMounted(() => { });
|
||||
onMounted(() => { getWinInfo() });
|
||||
|
||||
const danmakuRef = ref();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user