feat(mp): 添加扫码事件处理- 在 MessageTable 组件中增加了对扫码事件的处理
- 当消息类型为 Event 且事件类型为 SCAN 时,显示绿色的"扫码"标签
This commit is contained in:
@ -59,6 +59,9 @@
|
||||
>
|
||||
<el-tag>选择地理位置</el-tag>
|
||||
</div>
|
||||
<div v-else-if="scope.row.type === MsgType.Event && scope.row.event === 'SCAN'">
|
||||
<el-tag type="success">扫码</el-tag>
|
||||
</div>
|
||||
<div v-else-if="scope.row.type === MsgType.Event">
|
||||
<el-tag type="danger">未知事件类型</el-tag>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user