This commit is contained in:
Leo
2026-01-17 19:27:49 +08:00
parent fc237c9bfd
commit ada7aaf1f5
3 changed files with 30 additions and 2 deletions

View File

@@ -197,6 +197,16 @@ export default {
fullMessage() {
if (!this.resultList || this.resultList.length === 0) return ''
return this.resultList.join('\n\n\n')
},
// 检测移动端
isMobile() {
if (this.$store?.getters?.device === 'mobile') {
return true
}
if (typeof window !== 'undefined' && window.innerWidth < 768) {
return true
}
return false
}
},
mounted() {