Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
hmd
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1940be36
authored
Jul 21, 2023
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
订单增加刷新
1 parent
f17ca3b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
packageMine/pages/order/index/index.js
packageMine/pages/order/index/index.js
View file @
1940be3
...
@@ -174,9 +174,13 @@ Page({
...
@@ -174,9 +174,13 @@ Page({
if
(
tabIndex
!=
options
?.
tabIndex
)
delete
options
.
tabIndex
if
(
tabIndex
!=
options
?.
tabIndex
)
delete
options
.
tabIndex
this
.
setData
(
options
)
this
.
setData
(
options
)
this
.
clearData
()
this
.
clearData
()
}
else
this
.
setData
({
}
showLogin
:
true
,
},
})
onShow
(){
if
(
this
.
refresh
)
this
.
clearData
()
},
onHide
(){
this
.
refresh
=
true
},
},
clearData
()
{
clearData
()
{
this
.
setData
({
this
.
setData
({
...
@@ -301,6 +305,10 @@ Page({
...
@@ -301,6 +305,10 @@ Page({
})
})
},
},
requestSubscribeMessage
()
{
requestSubscribeMessage
()
{
wx
.
p
.
router
.
go
(
'/packageMine/pages/order/complete/complete'
,
{
success
:
true
,
})
return
let
systemInfo
=
wx
.
p
.
storage
.
get
(
'system_info'
)
let
systemInfo
=
wx
.
p
.
storage
.
get
(
'system_info'
)
if
(
systemInfo
&&
systemInfo
.
environment
!=
'wxwork'
)
{
if
(
systemInfo
&&
systemInfo
.
environment
!=
'wxwork'
)
{
wx
.
p
.
router
.
go
(
'/packageMine/pages/order/complete/complete'
,
{
wx
.
p
.
router
.
go
(
'/packageMine/pages/order/complete/complete'
,
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment