From aac76f64bb882834b867617d2342e00c9e2a930f Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期日, 04 一月 2026 15:48:31 +0800
Subject: [PATCH] 海川开心: 1.弹框可以拖拽 2.入库管理的材料入库不要数量字段 3.质量管理一些字段赋默认值 4.材料入库删除接口传参修改
---
src/components/Pagination/index.vue | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/components/Pagination/index.vue b/src/components/Pagination/index.vue
index 5b81b11..53fbec2 100644
--- a/src/components/Pagination/index.vue
+++ b/src/components/Pagination/index.vue
@@ -59,7 +59,7 @@
}
})
-const emit = defineEmits();
+const emit = defineEmits()
const currentPage = computed({
get() {
return props.page
@@ -76,6 +76,7 @@
emit('update:limit', val)
}
})
+
function handleSizeChange(val) {
if (currentPage.value * val > props.total) {
currentPage.value = 1
@@ -85,13 +86,13 @@
scrollTo(0, 800)
}
}
+
function handleCurrentChange(val) {
emit('pagination', { page: val, limit: pageSize.value })
if (props.autoScroll) {
scrollTo(0, 800)
}
}
-
</script>
<style scoped>
--
Gitblit v1.9.3