Skip to content

Commit

Permalink
fix: Fix the issue of pagination errors in the backup list (1Panel-de…
Browse files Browse the repository at this point in the history
  • Loading branch information
ssongliu authored Jan 9, 2025
1 parent a82a4eb commit 070f61e
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion frontend/src/components/backup/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ const opRef = ref();
const data = ref();
const paginationConfig = reactive({
cacheSizeKey: 'backup-page-size',
currentPage: 1,
pageSize: 10,
total: 0,
Expand Down
3 changes: 1 addition & 2 deletions frontend/src/components/upload/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
import { reactive, ref } from 'vue';
import { computeSize } from '@/utils/util';
import i18n from '@/lang';
import { UploadFile, UploadFiles, UploadInstance, genFileId } from 'element-plus';
import { UploadFile, UploadFiles, UploadInstance, UploadProps, UploadRawFile, genFileId } from 'element-plus';
import { File } from '@/api/interface/file';
import DrawerHeader from '@/components/drawer-header/index.vue';
import { BatchDeleteFile, CheckFile, ChunkUploadFileData, GetUploadList } from '@/api/modules/files';
Expand All @@ -156,7 +156,6 @@ const currentRow = ref();
const data = ref();
const title = ref();
const paginationConfig = reactive({
cacheSizeKey: 'upload-page-size',
currentPage: 1,
pageSize: 10,
total: 0,
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/lang/modules/tw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ const message = {
perDayHelper: '每 {0}:{1} 執行',
perHourHelper: '每小時 {0} 執行',
perNDayHelper: '每 {0} {1}:{2} 執行',
perNHourHelper: '每 {0}小時 {1} 執行',
perNHourHelper: '每 {0}小時 {1} 執行',
perNMinuteHelper: '每 {0} 執行',
perNSecondHelper: '每 {0} 執行',
perMonth: '每',
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/lang/modules/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ const message = {
perDayHelper: '每 {0}:{1} 执行',
perHourHelper: '每小时 {0} 执行',
perNDayHelper: '每 {0} {1}:{2} 执行',
perNHourHelper: '每 {0}小时 {1} 执行',
perNHourHelper: '每 {0}小时 {1} 执行',
perNMinuteHelper: '每 {0} 执行',
perNSecondHelper: '每 {0} 执行',
perMonth: '每',
Expand Down
1 change: 0 additions & 1 deletion frontend/src/views/cronjob/backup/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ const loading = ref();
const data = ref();
const paginationConfig = reactive({
cacheSizeKey: 'backup-cronjob-page-size',
currentPage: 1,
pageSize: 10,
total: 0,
Expand Down

0 comments on commit 070f61e

Please sign in to comment.