Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
5cce9f12
Commit
5cce9f12
authored
Dec 03, 2021
by
季圣华
Browse files
报表翻页的bug修复
parent
f7d7213a
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/mixins/JeecgListMixin.js
View file @
5cce9f12
...
@@ -408,7 +408,7 @@ export const JeecgListMixin = {
...
@@ -408,7 +408,7 @@ export const JeecgListMixin = {
})
})
dataSource
.
push
(
totalRow
)
dataSource
.
push
(
totalRow
)
//总数要增加合计的行数,每页都有一行合计,所以总数要加上
//总数要增加合计的行数,每页都有一行合计,所以总数要加上
let
size
=
Math
.
ceil
(
this
.
ipagination
.
total
/
this
.
ipagination
.
pageSize
)
let
size
=
Math
.
ceil
(
this
.
ipagination
.
total
/
(
this
.
ipagination
.
pageSize
-
1
)
)
this
.
ipagination
.
total
=
this
.
ipagination
.
total
+
size
this
.
ipagination
.
total
=
this
.
ipagination
.
total
+
size
}
}
},
},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment