Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
c304ac09
Commit
c304ac09
authored
Oct 12, 2023
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
扫码进入
parent
3e6e565d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
src/pages/home/index.vue
+7
-4
No files found.
src/pages/home/index.vue
View file @
c304ac09
...
@@ -565,17 +565,18 @@ export default {
...
@@ -565,17 +565,18 @@ export default {
console
.
log
(
'eloadEnterShopRule'
,
this
.
h5Params
)
console
.
log
(
'eloadEnterShopRule'
,
this
.
h5Params
)
// 进店规则--首次进店调用
// 进店规则--首次进店调用
if
(
this
.
h5Params
&&
this
.
h5Params
.
offlineShopCode
)
{
if
(
this
.
h5Params
&&
this
.
h5Params
.
offlineShopCode
)
{
// this.setPageLoading();
this
.
refreshInit
();
// return;
wx
.
removeStorageSync
(
"firstView"
);
return
;
};
};
console
.
log
(
'home-methods-reloadEnterShopRule'
)
console
.
log
(
'home-methods-reloadEnterShopRule'
)
if
(
wx
.
getStorageSync
(
"firstView"
))
{
if
(
wx
.
getStorageSync
(
"firstView"
)
==
1
)
{
console
.
log
(
'reloadEnterShopRule-------1'
)
console
.
log
(
'reloadEnterShopRule-------1'
)
wx
.
removeStorageSync
(
"firstView"
);
wx
.
removeStorageSync
(
"firstView"
);
this
.
enterStoreRule
();
this
.
enterStoreRule
();
}
else
{
}
else
{
console
.
log
(
'reloadEnterShopRule-------2'
)
console
.
log
(
'reloadEnterShopRule-------2'
)
//
this.setPageLoading();
this
.
setPageLoading
();
}
}
},
},
async
enterStoreRule
()
{
async
enterStoreRule
()
{
...
@@ -1128,6 +1129,8 @@ export default {
...
@@ -1128,6 +1129,8 @@ export default {
}
}
},
},
async
refreshInit
()
{
async
refreshInit
()
{
console
.
log
(
"refreshInit"
);
this
.
pageData
=
[];
log
.
info
(
'onPullDownRefresh'
,
this
.
$store
.
state
.
extConfig
)
log
.
info
(
'onPullDownRefresh'
,
this
.
$store
.
state
.
extConfig
)
app
.
getShopInfo
(
this
.
$store
.
state
.
extConfig
);
app
.
getShopInfo
(
this
.
$store
.
state
.
extConfig
);
try
{
try
{
...
...
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