diff --git a/src/components/common/upload/index.vue b/src/components/common/upload/index.vue index 51fbeb06..cf7500a2 100644 --- a/src/components/common/upload/index.vue +++ b/src/components/common/upload/index.vue @@ -134,7 +134,7 @@
- +
@@ -462,6 +462,7 @@ const remove_type_event = (node: any, data: Tree) => { // const page_total = ref(0); // 当前页 const page = ref(1); +const page_size = ref(21); // 总数量 const data_total = ref(0); // 名称查询 @@ -477,6 +478,7 @@ const get_attachment_list = (type?: string) => { img_loading.value = true; const new_data = { page: page.value, + page_size: page_size.value, type: upload_type.value == 'img' ? 'image' : upload_type.value == 'video' ? 'video' : upload_type.value == 'file' ? 'file' : '', keywords: search_name.value, category_id: category_id.value,