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 5f744cf2
authored
Apr 18, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改首页待补录订单判断
1 parent
69039c7d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
config.js
tabIndex/pages/index/index.js
config.js
View file @
5f744cf
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
* 2测试
* 2测试
* 3生产环境
* 3生产环境
*/
*/
let
index
=
2
let
index
=
3
const
accountInfo
=
wx
.
getAccountInfoSync
()
const
accountInfo
=
wx
.
getAccountInfoSync
()
const
systemInfo
=
wx
.
getSystemInfoSync
()
const
systemInfo
=
wx
.
getSystemInfoSync
()
...
...
tabIndex/pages/index/index.js
View file @
5f744cf
...
@@ -258,7 +258,7 @@ Page({
...
@@ -258,7 +258,7 @@ Page({
// console.log('isStaff', isStaff)
// console.log('isStaff', isStaff)
let
thisPage
=
wx
.
$router
.
getPageInstance
()
let
thisPage
=
wx
.
$router
.
getPageInstance
()
console
.
log
(
thisPage
.
route
,
' thisPage.route'
)
console
.
log
(
thisPage
.
route
,
' thisPage.route'
)
thisPage
.
route
==
'tabIndex/pages/index/index'
&&
//
thisPage.route == 'tabIndex/pages/index/index' &&
isStaff
&&
isStaff
&&
api
api
.
waitinputorder
()
.
waitinputorder
()
...
@@ -431,6 +431,9 @@ Page({
...
@@ -431,6 +431,9 @@ Page({
*/
*/
onShow
:
function
(
options
)
{
onShow
:
function
(
options
)
{
// console.log(options, 'options')
// console.log(options, 'options')
this
.
setData
({
isStaff
:
app
.
globalData
.
isStaff
})
let
userInfo
=
wx
.
$util
.
getUserInfo
()
let
userInfo
=
wx
.
$util
.
getUserInfo
()
// console.log(userInfo)
// console.log(userInfo)
// 如果是员工 开启订单补录轮询
// 如果是员工 开启订单补录轮询
...
...
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