From 7a2d49aeff16e1122ed33ebb858f093a379fb960 Mon Sep 17 00:00:00 2001 From: qx <1084500556@qq.com> Date: 星期二, 15 四月 2025 17:11:03 +0800 Subject: [PATCH] wx --- 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