2024-10-19 11:09:17 +08:00

26 lines
546 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">/help</span> {{$L("查看帮助菜单")}}
</div>
<div v-else>
{{$L("未知的消息")}}
</div>
</template>
<script lang="ts">
export default {
props: {
msg: Object,
},
data() {
return {};
},
computed: {
isBot() {
return /^\//.test(this.msg.type);
},
},
methods: {},
}
</script>