mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-05-14 10:13:09 +00:00
Fix subtotal not updating (#625)
This commit is contained in:
parent
f8868e6492
commit
e084bdc9ee
1 changed files with 3 additions and 0 deletions
|
|
@ -54,6 +54,9 @@
|
|||
},
|
||||
watch: {
|
||||
mdTotal(val) {
|
||||
const sub = this.currentPage * this.currentSize;
|
||||
|
||||
this.subTotal = sub > val ? val : sub;
|
||||
this.totalItems = isNaN(val) ? Number.MAX_SAFE_INTEGER : parseInt(val, 10);
|
||||
},
|
||||
mdSize(val) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue