opt:kit套件优化
This commit is contained in:
@@ -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: '关闭',
|
||||
|
||||
Reference in New Issue
Block a user