xuxueyang
2024-07-25 ed30bf3cf96c92fb08c4d013d3747b84a0fc8645
mixin/mixin.js
@@ -258,9 +258,9 @@
            }
            return true
        },
        async refreshList() {
        async refreshList(type = 'get') {
            this.page.current = 1
            await this.getList()
            await this.getList(type)
        },
        async getList(type = 'get') {
            if (this.listApi) {
@@ -278,7 +278,7 @@
                    }
                })
                if (data) {
                    if (this.page.current == 1) {
                    if (this.page.current === 1) {
                        this.list = data.records || []
                    } else {
                        //根据id去重正常