WXL
21 小时以前 f06fb94665b25d9f9fd8947f1c2c5daa60bb5f2f
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;