From cc0167b1209899bb72b1c0d42acf9295c1a0870d Mon Sep 17 00:00:00 2001 From: timerzz Date: Wed, 15 May 2024 21:29:12 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=90=9C=E7=B4=A2=E6=97=B6page=E4=B8=BA1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Product/index.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/views/Product/index.vue b/src/views/Product/index.vue index ca47d48..599da36 100644 --- a/src/views/Product/index.vue +++ b/src/views/Product/index.vue @@ -6,8 +6,8 @@
当前默认运费:{{spiderCfg.freight}}
- - 搜索 + + 搜索
@@ -126,6 +126,7 @@ onMounted(()=>{ list() loadSpiderCfg() }) + const query = reactive({ page: 1, size:6, @@ -151,6 +152,11 @@ const list = ()=>{ }) } +const search = ()=>{ + query.page = 1 + list() +} + const columns = computed(()=>[ { title: '名称',