Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
U
uni-pdtravel
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
panyongping
uni-pdtravel
Commits
0056fa75
Commit
0056fa75
authored
Feb 20, 2024
by
qipeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加清除
parent
38606547
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1008 additions
and
1000 deletions
+1008
-1000
orderList.vue
pages/my/order/orderList/orderList.vue
+1008
-1000
No files found.
pages/my/order/orderList/orderList.vue
View file @
0056fa75
...
...
@@ -436,6 +436,7 @@ export default {
openId
:
''
,
ifyukuaiCode
:
''
,
//渝快付
dataLengthType
:
false
,
//上拉加载无更多数据时显示
timerOutClear
:
null
,
}
},
onLoad
(
option
)
{
...
...
@@ -608,7 +609,7 @@ export default {
}
})
.
catch
((
err
)
=>
{
setTimeout
(()
=>
{
this
.
timerOutClear
=
setTimeout
(()
=>
{
this
.
getData
(
2
)
},
1000
)
...
...
@@ -707,6 +708,13 @@ export default {
this
.
pageIndex
++
this
.
getData
(
2
)
},
onUnload
()
{
if
(
this
.
timerOutClear
)
{
clearTimeout
(
this
.
timerOutClear
)
this
.
timerOutClear
=
null
}
//隐藏加载框 uni.hideLoading()
},
}
</
script
>
...
...
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