xuxueyang
2024-07-26 2d5090c2b215a5ea7e489d4b50fbf30aae569324
mixin/mixin.js
@@ -278,6 +278,10 @@
                    }
                })
                if (data) {
                    if (data && Array.isArray(data)) {
                        this.list = data || []
                        this.page.total = data.length || 0
                    } else {
                    if (this.page.current === 1) {
                        this.list = data.records || []
                    } else {
@@ -294,6 +298,8 @@
                    }
                    this.page.total = data.total || 0
                    }
                    if (this.getList_after) {
                        this.getList_after()
                    }