Commit 69b0ac43 authored by “yiyousong”'s avatar “yiyousong”

perf: 优化

parent 9c5d40ce
...@@ -59,7 +59,7 @@ export default { ...@@ -59,7 +59,7 @@ export default {
return Math.ceil(this.total / this.size); return Math.ceil(this.total / this.size);
}, },
showHideOnSinglePage() { showHideOnSinglePage() {
return !!this.hideOnSinglePage; return !!this.hideOnSinglePage && this.total / this.size <= 1;
}, },
}, },
methods: { methods: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment