Ver código fonte

update PostAlbum.vue

reghao 1 ano atrás
pai
commit
a6f3dd96b1
1 arquivos alterados com 2 adições e 2 exclusões
  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)
     },