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) {