From 4f55c0255e5e68b3685d1510062dff6e1e3dbc48 Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期三, 16 四月 2025 14:13:07 +0800 Subject: [PATCH] 1 --- src/components/public/index.vue | 11 ++++------- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/components/public/index.vue b/src/components/public/index.vue index 59c1b96..8e16d25 100644 --- a/src/components/public/index.vue +++ b/src/components/public/index.vue @@ -178,12 +178,11 @@ try { this.loading = true; // 娣诲姞鍔犺浇鐘舵�� const res = await getlist(this.queryParams); - this.dataList = res.rows; - this.total = res.total; - + this.dataList = res.data.rows; + if( res.data.total){ + this.total = res.data.total; + } this.updateData(this.proResult, this.conclusion); - - // 濡傛灉闇�瑕侀�変腑鎿嶄綔锛屽皢鍏跺皝瑁呬负鐙珛鏂规硶 await this.handleAutoSelection(); } catch (error) { @@ -236,9 +235,7 @@ .join(","); this.form.jcsj = this.form.jcsj+jcsj; // 鏇存柊妫�鏌ユ墍瑙� this.form.desc= this.form.desc+desc; - } - }, handleSelectionChange(selection) { -- Gitblit v1.8.0