diff --git a/src/views/attachment/AttachmentList.vue b/src/views/attachment/AttachmentList.vue index e493e324..7c4546aa 100644 --- a/src/views/attachment/AttachmentList.vue +++ b/src/views/attachment/AttachmentList.vue @@ -223,7 +223,8 @@ export default { pagination: { page: 1, size: 18, - sort: null + sort: null, + total: 1 }, queryParam: { page: 0, diff --git a/src/views/attachment/components/AttachmentDrawer.vue b/src/views/attachment/components/AttachmentDrawer.vue index ad58155b..c1ebd80f 100644 --- a/src/views/attachment/components/AttachmentDrawer.vue +++ b/src/views/attachment/components/AttachmentDrawer.vue @@ -120,7 +120,8 @@ export default { pagination: { page: 1, size: 12, - sort: '' + sort: null, + total: 1 }, queryParam: { page: 0, diff --git a/src/views/attachment/components/AttachmentSelectDrawer.vue b/src/views/attachment/components/AttachmentSelectDrawer.vue index c53f7daf..88c10ed5 100644 --- a/src/views/attachment/components/AttachmentSelectDrawer.vue +++ b/src/views/attachment/components/AttachmentSelectDrawer.vue @@ -127,7 +127,8 @@ export default { pagination: { page: 1, size: 12, - sort: '' + sort: null, + total: 1 }, queryParam: { page: 0, diff --git a/src/views/comment/components/CommentTab.vue b/src/views/comment/components/CommentTab.vue index 1bcc3fa6..1e2e69d3 100644 --- a/src/views/comment/components/CommentTab.vue +++ b/src/views/comment/components/CommentTab.vue @@ -531,7 +531,8 @@ export default { pagination: { page: 1, size: 10, - sort: null + sort: null, + total: 1 }, queryParam: { page: 0, diff --git a/src/views/comment/components/TargetCommentDrawer.vue b/src/views/comment/components/TargetCommentDrawer.vue index daefbc36..95cc17a7 100644 --- a/src/views/comment/components/TargetCommentDrawer.vue +++ b/src/views/comment/components/TargetCommentDrawer.vue @@ -127,7 +127,8 @@ export default { pagination: { page: 1, size: 10, - sort: '' + sort: null, + total: 1 }, queryParam: { page: 0, diff --git a/src/views/post/PostList.vue b/src/views/post/PostList.vue index ce51647f..9e1d6a69 100644 --- a/src/views/post/PostList.vue +++ b/src/views/post/PostList.vue @@ -584,7 +584,8 @@ export default { pagination: { page: 1, size: 10, - sort: null + sort: null, + total: 1 }, queryParam: { page: 0, diff --git a/src/views/sheet/components/CustomSheetList.vue b/src/views/sheet/components/CustomSheetList.vue index d023ac5a..23e0bf23 100644 --- a/src/views/sheet/components/CustomSheetList.vue +++ b/src/views/sheet/components/CustomSheetList.vue @@ -388,7 +388,8 @@ export default { pagination: { page: 1, size: 10, - sort: null + sort: null, + total: 1 }, queryParam: { page: 0, diff --git a/src/views/sheet/internal/JournalList.vue b/src/views/sheet/internal/JournalList.vue index 34038a39..8c689552 100644 --- a/src/views/sheet/internal/JournalList.vue +++ b/src/views/sheet/internal/JournalList.vue @@ -267,7 +267,8 @@ export default { pagination: { page: 1, size: 10, - sort: null + sort: null, + total: 1 }, queryParam: { page: 0, diff --git a/src/views/sheet/internal/PhotoList.vue b/src/views/sheet/internal/PhotoList.vue index 78a8465a..f087ff50 100644 --- a/src/views/sheet/internal/PhotoList.vue +++ b/src/views/sheet/internal/PhotoList.vue @@ -353,7 +353,8 @@ export default { pagination: { page: 1, size: 18, - sort: null + sort: null, + total: 1 }, queryParam: { page: 0, diff --git a/src/views/system/components/BackupDrawer.vue b/src/views/system/components/BackupDrawer.vue index 51c32427..a7a02f87 100644 --- a/src/views/system/components/BackupDrawer.vue +++ b/src/views/system/components/BackupDrawer.vue @@ -12,73 +12,51 @@ align="middle" > - + 历史备份 + - - - - {{ backupTip.title }} - - - - - - 历史备份 - - 删除 + + + + {{ backup.filename }} + + {{ backup.updateTime | timeAgo }}/{{ backup.fileSize | fileSizeFormat }} + + + - - 删除 - - - - {{ backup.filename }} - - {{ backup.updateTime | timeAgo }}/{{ backup.fileSize | fileSizeFormat }} - - - - - - - + + + @@ -110,27 +88,7 @@ export default { backuping: false, loading: false, deleting: false, - backups: [], - backupTips: [ - { - title: '博客备份', - description: - '将会压缩 Halo 的工作目录到临时文件中,并提供下载链接。如果附件太多的话,可能会十分耗时,请耐心等待!', - alert: { - type: 'warning', - message: '注意:备份后生成的压缩文件存储在临时文件中,重启服务器会造成备份文件的丢失,所以请尽快下载!' - } - }, - { title: '备份查询', description: '查询近期的备份,按照备份时间递减排序。' }, - { title: '备份删除', description: '删除已经备份的内容。' }, - { - title: '版本要求', - alert: { - type: 'warning', - message: '注意:要求 Halo server 版本大于 v1.1.1!你可以在 【系统 | 关于】 里面找到系统的版本信息。' - } - } - ] + backups: [] } }, model: { diff --git a/src/views/system/developer/tabs/OptionsList.vue b/src/views/system/developer/tabs/OptionsList.vue index b4598d1a..b66f839c 100644 --- a/src/views/system/developer/tabs/OptionsList.vue +++ b/src/views/system/developer/tabs/OptionsList.vue @@ -229,7 +229,8 @@ export default { pagination: { page: 1, size: 10, - sort: null + sort: null, + total: 1 }, queryParam: { page: 0,
{{ backup.updateTime | timeAgo }}/{{ backup.fileSize | fileSizeFormat }}