Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d3d0b576
authored
Sep 28, 2023
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
de979c22
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
config.js
tabIndex/pages/index/index.js
config.js
View file @
d3d0b57
...
@@ -18,13 +18,13 @@ export const appId = 'wx570d9331f9ace0bd'
...
@@ -18,13 +18,13 @@ export const appId = 'wx570d9331f9ace0bd'
* 4预发布
* 4预发布
* 5cdptest
* 5cdptest
*/
*/
let
index
=
2
let
index
=
4
const
accountInfo
=
wx
.
getAccountInfoSync
()
const
accountInfo
=
wx
.
getAccountInfoSync
()
const
systemInfo
=
wx
.
getSystemInfoSync
()
const
systemInfo
=
wx
.
getSystemInfoSync
()
const
envName
=
accountInfo
.
miniProgram
.
envVersion
const
envName
=
accountInfo
.
miniProgram
.
envVersion
//手动控制体验版环境的请求 true就依据下面index false就默认2
//手动控制体验版环境的请求 true就依据下面index false就默认2
const
manual
=
fals
e
const
manual
=
tru
e
const
release
=
false
const
release
=
false
// 判断小程序环境
// 判断小程序环境
...
...
tabIndex/pages/index/index.js
View file @
d3d0b57
...
@@ -548,7 +548,7 @@ Page({
...
@@ -548,7 +548,7 @@ Page({
},
},
onRoute
(
options
)
{
onRoute
(
options
)
{
options
&&
this
.
checkShowOrderPop
(
options
)
options
&&
this
.
checkShowOrderPop
(
options
)
options
&&
options
.
resetStoreList
&&
this
.
get4SStoreList
()
//
options && options.resetStoreList && this.get4SStoreList()
},
},
/**
/**
* 生命周期函数--监听页面加载
* 生命周期函数--监听页面加载
...
@@ -566,6 +566,7 @@ Page({
...
@@ -566,6 +566,7 @@ Page({
this
.
setData
({
this
.
setData
({
isStaff
:
app
.
globalData
.
isStaff
isStaff
:
app
.
globalData
.
isStaff
})
})
this
.
get4SStoreList
()
},
},
/**
/**
* 生命周期函数--监听页面初次渲染完成
* 生命周期函数--监听页面初次渲染完成
...
...
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