2024-10-16 18:40:53 +08:00

26 lines
479 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<div v-if="isBot">
你好我是你的机器人助理你可以发送 <span class="mark-color">/help</span> 查看帮助菜单
</div>
<div v-else>
未知消息类型
</div>
</template>
<script lang="ts">
export default {
props: {
msg: Object,
},
data() {
return {};
},
computed: {
isBot() {
return /^\//.test(this.msg.type);
},
},
methods: {},
}
</script>