Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
account-book
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘文虎
account-book
Commits
a2d0ee27
Commit
a2d0ee27
authored
Oct 09, 2022
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 名片页面和收据记账页面去掉lastId
parent
80c2c057
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
index.vue
pages/card/index.vue
+3
-1
index.vue
pages/maintain-bill/index.vue
+3
-1
No files found.
pages/card/index.vue
View file @
a2d0ee27
...
...
@@ -231,7 +231,7 @@ export default {
current
:
this
.
current
,
size
:
this
.
size
,
type
:
this
.
currentInfo
.
type
,
lastId
:
this
.
current
==
1
?
''
:
this
.
lastId
//
lastId: this.current == 1 ? '' : this.lastId
})
.
then
(
res
=>
{
if
(
this
.
current
==
1
)
{
...
...
@@ -241,6 +241,8 @@ export default {
this
.
list
.
push
(...
res
.
data
);
// 更新底部加载状态
this
.
loadStatus
=
res
.
total
>
this
.
list
.
length
?
'loadmore'
:
'nomore'
;
}
else
{
this
.
loadStatus
=
'nomore'
}
setTimeout
(()
=>
{
this
.
$nextTick
(()
=>
{
...
...
pages/maintain-bill/index.vue
View file @
a2d0ee27
...
...
@@ -195,7 +195,7 @@ export default {
repair
({
start
:
this
.
start
,
end
:
this
.
end
,
lastId
:
this
.
current
==
1
?
''
:
this
.
lastId
,
//
lastId: this.current == 1 ? '' : this.lastId,
current
:
this
.
current
,
keyword
:
this
.
keyword
,
size
:
this
.
size
,
...
...
@@ -211,6 +211,8 @@ export default {
this
.
records
.
push
(...
data
.
records
);
// 更新底部加载状态
this
.
loadStatus
=
data
.
total
>
this
.
records
.
length
?
'loadmore'
:
'nomore'
;
}
else
{
this
.
loadStatus
=
'nomore'
}
setTimeout
(()
=>
{
this
.
$nextTick
(()
=>
{
...
...
Write
Preview
Markdown
is supported
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