mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 11:19:56 +00:00
26 lines
545 B
Vue
26 lines
545 B
Vue
<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>
|