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
2a0b6748
Commit
2a0b6748
authored
Sep 01, 2022
by
songbingqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复部分bug
parent
8eabbc56
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletions
+8
-1
menuSubPackage/pages/goodsDetail/goodsDetail.vue
+1
-0
orderSubPackage/pages/orderInfo/index.vue
+2
-1
pages/menu/menu.vue
+5
-0
No files found.
menuSubPackage/pages/goodsDetail/goodsDetail.vue
View file @
2a0b6748
...
@@ -364,6 +364,7 @@ export default {
...
@@ -364,6 +364,7 @@ export default {
if
(
res
.
confirm
)
{
if
(
res
.
confirm
)
{
uni
.
openSetting
({
//opensetting是调起设置页面的
uni
.
openSetting
({
//opensetting是调起设置页面的
success
:
(
res
)
=>
{
success
:
(
res
)
=>
{
uni
.
setStorageSync
(
"updataLoadtion"
,
true
)
console
.
log
(
res
)
console
.
log
(
res
)
if
(
res
.
authSetting
[
'scope.userLocation'
]
==
true
){
//判断res.authsetting的值是true还是false
if
(
res
.
authSetting
[
'scope.userLocation'
]
==
true
){
//判断res.authsetting的值是true还是false
gosettleFun
()
gosettleFun
()
...
...
orderSubPackage/pages/orderInfo/index.vue
View file @
2a0b6748
...
@@ -142,7 +142,7 @@ export default {
...
@@ -142,7 +142,7 @@ export default {
onShow
()
{
onShow
()
{
uni
.
setStorageSync
(
'allow'
,
true
)
uni
.
setStorageSync
(
'allow'
,
true
)
uni
.
setStorageSync
(
'goodsList'
,{})
uni
.
setStorageSync
(
'goodsList'
,{})
this
.
backToMneu
=
false
//
this.backToMneu = false
},
},
// onUnload(){
// onUnload(){
// this.goBack()
// this.goBack()
...
@@ -252,6 +252,7 @@ export default {
...
@@ -252,6 +252,7 @@ export default {
return
return
}
else
{
}
else
{
this
.
backFlag
=
false
this
.
backFlag
=
false
this
.
backToMneu
=
true
oId
=
orderId
oId
=
orderId
}
}
}
}
...
...
pages/menu/menu.vue
View file @
2a0b6748
...
@@ -190,6 +190,11 @@ export default {
...
@@ -190,6 +190,11 @@ export default {
},
},
async
onShow
()
{
async
onShow
()
{
uni
.
setStorageSync
(
"selectFlag"
,
false
)
uni
.
setStorageSync
(
"selectFlag"
,
false
)
const
updataLoactionFlag
=
uni
.
getStorageSync
(
"updataLoadtion"
)
if
(
updataLoactionFlag
)
{
this
.
authLocation
();
uni
.
setStorageSync
(
"updataLoadtion"
,
false
)
}
this
.
getHomeOrder
()
this
.
getHomeOrder
()
},
},
methods
:
{
methods
:
{
...
...
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