diff --git a/src/views/customer/index.vue b/src/views/customer/index.vue index 880884e..cefce9e 100644 --- a/src/views/customer/index.vue +++ b/src/views/customer/index.vue @@ -268,7 +268,7 @@ this.total = res.total }, exportExcel() { - if (!this.range) { + if (this.total>5000 && !this.range) { this.$Message.warning('Select a time period to export') return }