Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
user
Overview
Overview
Details
Activity
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
hooloo
mp
user
Commits
bcd1054b
Commit
bcd1054b
authored
Jun 10, 2022
by
weijiguang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://140.143.224.240:8100/hooloo/mp/user
parents
39db9abf
c7182879
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
+12
-7
orderSubPackage/pages/settlement/index.vue
+12
-7
No files found.
orderSubPackage/pages/settlement/index.vue
View file @
bcd1054b
...
...
@@ -216,14 +216,19 @@ export default {
messageAndSave
()
{
wx
.
requestSubscribeMessage
({
tmplIds
:
[
'1uErx-15S-3vuopXSvvsxCeM_Jd-1iZC-nXzd2yW3QU'
,
'Q4HDwBEvpTXpwtZktqWm4SZOTEuQK1x48xjqjD2GqyM'
,
'Fu_CPIXa0cnJ4EDdVKqFQ3qqKJccMqt2oorI5mfNq74'
],
success
:
()
=>
{
uni
.
setStorageSync
(
'isMessage'
,
'true'
)
User
.
setAllow
(
1
)
this
.
saveReserve
()
success
:
(
res
)
=>
{
const
finalValue
=
Object
.
values
(
res
).
indexOf
(
'reject'
)
if
(
finalValue
===-
1
){
uni
.
setStorageSync
(
'isMessage'
,
'true'
)
User
.
setAllow
(
1
)
this
.
saveReserve
()
}
else
{
User
.
setAllow
(
2
)
this
.
saveReserve
()
}
},
fail
:
()
=>
{
User
.
setAllow
(
2
)
this
.
saveReserve
()
fail
:
(
err
)
=>
{
console
.
log
(
err
);
}
})
},
...
...
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