Skip to content

Commit 1c77ba8

Browse files
committed
code review 微信的实现
1 parent 0ceddc9 commit 1c77ba8

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/views/mp/components/wx-msg/components/MsgEvent.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,3 @@ const props = defineProps<{
4747
4848
const item = ref(props.item)
4949
</script>
50-
51-
<style scoped></style>

src/views/mp/components/wx-msg/components/MsgList.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
class="avue-comment__body"
1919
:style="item.sendFrom === SendFrom.MpBot ? 'background: #6BED72;' : ''"
2020
>
21-
<!-- 【事件】区域 -->
21+
<!-- 【事件】区域 TODO 芋艿:是不是把拆个 Message 出来,里面包括 MsgEvent + 各种其它消息,分开有点不够整体 -->
2222
<MsgEvent v-if="item.type === MsgType.Event" :item="item" />
2323
<!-- 【消息】区域 -->
2424
<div v-else-if="item.type === MsgType.Text">{{ item.content }}</div>
@@ -68,7 +68,6 @@
6868
</div>
6969
</div>
7070
</template>
71-
7271
<script setup lang="ts" name="MsgList">
7372
import WxVideoPlayer from '@/views/mp/components/wx-video-play'
7473
import WxVoicePlayer from '@/views/mp/components/wx-voice-play'

0 commit comments

Comments
 (0)