Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
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
李俊赕
self-support
Commits
d970e41b
Commit
d970e41b
authored
May 09, 2021
by
刘用法
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
列表页pagenumber=1清空列表
parent
f121adc8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
index.vue
src/components/order/index.vue
+1
-1
order.vue
src/pages/index/order.vue
+3
-0
No files found.
src/components/order/index.vue
View file @
d970e41b
...
@@ -196,7 +196,7 @@
...
@@ -196,7 +196,7 @@
return
this
.
orderType
==
5
return
this
.
orderType
==
5
},
},
showDistance
()
{
showDistance
()
{
return
this
.
orderType
==
0
&&
this
.
location
.
length
>=
2
return
this
.
orderType
==
0
&&
this
.
location
.
length
>=
2
&&
(
this
.
location
[
0
]
||
this
.
location
[
1
])
},
},
types
()
{
types
()
{
return
{
return
{
...
...
src/pages/index/order.vue
View file @
d970e41b
...
@@ -256,6 +256,9 @@
...
@@ -256,6 +256,9 @@
if
(
res
.
data
.
type
!=
self
.
orderType
)
return
if
(
res
.
data
.
type
!=
self
.
orderType
)
return
self
.
triggered
=
false
;
self
.
triggered
=
false
;
self
.
_freshing
=
false
;
self
.
_freshing
=
false
;
if
(
self
.
pageNumber
==
1
)
{
self
.
orderList
=
[]
}
if
(
res
.
data
.
list
)
{
if
(
res
.
data
.
list
)
{
self
.
orderList
.
push
(...
res
.
data
.
list
)
self
.
orderList
.
push
(...
res
.
data
.
list
)
if
(
self
.
list
[
self
.
types
[
res
.
data
.
type
]])
{
if
(
self
.
list
[
self
.
types
[
res
.
data
.
type
]])
{
...
...
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