WXL
3 天以前 87e331767b3ce416c957b7336e94b9ba208f0efb
src/views/business/affirm/index.vue
@@ -358,15 +358,15 @@
        if (Array.isArray(response.data)) {
          // 如果返回的是数组
          this.confirmationList = response.data;
          this.total = response.data.length;
          this.total = response.total;
        } else if (response.data.rows) {
          // 如果返回的是分页数据结构
          this.confirmationList = response.data.rows;
          this.total = response.data.total;
          this.total = response.total;
        } else if (Array.isArray(response.data.list)) {
          // 如果返回的是list字段
          this.confirmationList = response.data.list;
          this.total = response.data.total || response.data.list.length;
          this.total = response.total;
        } else {
          // 其他数据结构,尝试直接使用data
          this.confirmationList = response.data;