opt:kit套件优化

This commit is contained in:
zhangzq
2026-02-23 22:51:40 +08:00
parent fbfa2ed8e8
commit 2a2045e8ee
41 changed files with 151 additions and 870 deletions

View File

@@ -85,12 +85,14 @@ export default {
},
methods: {
truncateOrFullText(text) {
if (text.length > 1000) {
debugger
if (text != null && text.length > 1000) {
return text.slice(0, 1000) + '...'
}
return text
},
handleClick(content) {
debugger
if (content.length > 1000) {
this.$alert(content, '完整内容', {
confirmButtonText: '关闭',