Skip to content

Commit

Permalink
feat: hide lottery danmu by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ddiu8081 committed Oct 15, 2022
1 parent 5209eef commit a9019f5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ onMounted(async () => {
liveStatus.value.isLive = false
},
onIncomeDanmu: (msg) => {
if (msg.body.lottery) return
allList.value.push(msg)
danmuList.value.push(msg)
},
Expand Down
1 change: 0 additions & 1 deletion src/components/MsgTime.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ const { timestamp } = defineProps<{
<TText color="#666666">{{ dayjs(timestamp).format('HH:mm:ss') }}</TText>
</TBox>
</template>

0 comments on commit a9019f5

Please sign in to comment.