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
c7589b80
Commit
c7589b80
authored
Oct 19, 2021
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
显示条件问题
parent
3d1e8d61
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/App.vue
+5
-5
No files found.
src/App.vue
View file @
c7589b80
...
...
@@ -11,7 +11,7 @@ export default {
let
extConfig
=
wx
.
getExtConfigSync
?
wx
.
getExtConfigSync
()
:
{};
console
.
log
(
extConfig
,
"-----------extConfig"
);
if
(
JSON
.
stringify
(
extConfig
)
==
"{}"
)
{
extConfig
=
process
.
env
.
NODE_ENV
==
"development"
?
{
mixid
:
"antgood"
,
shopid
:
67
}:{
"mixid"
:
"
qiyeCT"
,
"shopid"
:
1045
};
extConfig
=
process
.
env
.
NODE_ENV
==
"development"
?
{
mixid
:
"antgood"
,
shopid
:
67
}:{
"mixid"
:
"
XYKJ"
,
"shopid"
:
1153
};
}
...
...
@@ -69,10 +69,10 @@ export default {
// 查询可显示的条件
let
{
data
:
ids
,
isAreaNavigation
}
=
await
this
.
checkCondition
(
showConditionIds
);
// 没有定位组件
if
(
!
isAreaNavigation
)
{
cb
()
return
}
//
if (!isAreaNavigation) {
//
cb()
//
return
//
}
// 设置visible
pageInfo
.
pageData
=
this
.
updateCondition
(
pageData
,
ids
);
console
.
log
(
showConditionIds
,
"--------------5454"
,
ids
,
pageInfo
);
...
...
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