Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
上
上药订单生命周期升级
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
sph
上药订单生命周期升级
Commits
25048958
Commit
25048958
authored
Mar 31, 2021
by
xiejb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户商品 更多加载问题
parent
250ab639
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
src/components/SearchGoods.vue
src/components/SearchGoods.vue
+1
-0
src/components/SearchInClient.vue
src/components/SearchInClient.vue
+2
-1
No files found.
src/components/SearchGoods.vue
View file @
25048958
...
...
@@ -225,6 +225,7 @@ export default {
}
else
{
// 加载成功后下一页自增1
_this
.
currentPage
++
_this
.
finished
=
false
}
}
else
{
_this
.
$toast
(
rt
.
msg
)
...
...
src/components/SearchInClient.vue
View file @
25048958
...
...
@@ -240,11 +240,12 @@ export default {
// 重置加载更多提示
_this
.
loading
=
false
// 若当前加载的页数没有满足每页的数量代表完全加载
if
(
rt
.
data
.
length
<
10
)
{
if
(
rt
.
data
.
length
<
_this
.
pageSize
)
{
_this
.
finished
=
true
}
else
{
// 加载成功后下一页自增1
_this
.
currentPage
++
_this
.
finished
=
false
}
}
else
{
_this
.
$toast
(
rt
.
msg
)
...
...
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