2025-03-22 18:44:09 +08:00

26 lines
545 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">
{{$L("不支持的指令")}} <span class="warning-color">{{msg.type}}</span>{{$L("你可以发送")}} <span class="mark-color mark-set">/help</span> {{$L("查看帮助菜单")}}
</div>
<div v-else>
{{$L("未知的消息")}}
</div>
</template>
<script>
export default {
props: {
msg: Object,
},
data() {
return {};
},
computed: {
isBot() {
return /^\//.test(this.msg.type);
},
},
methods: {},
}
</script>