Explorar o código

update PostAlbum.vue

reghao hai 1 ano
pai
achega
a6f3dd96b1
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/views/post/PostAlbum.vue

+ 2 - 2
src/views/post/PostAlbum.vue

@@ -152,7 +152,7 @@ export default {
   filters: {
     ellipsis(value) {
       if (!value) return ''
-      const max = 20
+      const max = 15
       if (value.length > max) {
         return value.slice(0, max) + '...'
       }
@@ -214,7 +214,7 @@ export default {
     handleCurrentChange(pageNumber) {
       this.currentPage = pageNumber
       this.queryInfo.pn = pageNumber
-      this.getData()
+      this.getData1()
       // 回到顶部
       scrollTo(0, 0)
     },