Commit a0b2ed7a by 张立顺

首页订单补录修复

1 parent 5f744cf2
...@@ -251,11 +251,13 @@ Page({ ...@@ -251,11 +251,13 @@ Page({
// app.globalData.YQorderSetting = null // app.globalData.YQorderSetting = null
app.globalData.yqdInfo.merchantRange = null app.globalData.yqdInfo.merchantRange = null
app.globalData.YQorderSetting = null app.globalData.YQorderSetting = null
wx.$util.hideLoading()
wx.$util.setUserInfo(data.loginUserInfoList[0]) wx.$util.setUserInfo(data.loginUserInfoList[0])
checkYqdSuper(app, data.loginUserInfoList[0]) checkYqdSuper(app, data.loginUserInfoList[0])
// console.log(data.loginUserInfoList[0]) // console.log(data.loginUserInfoList[0])
getYQorderInfo() getYQorderInfo()
const SCENE = wx.$SCENE const SCENE = wx.$SCENE
// debugger
// 有场景信息就跳转对应页面 没有就登录场景 // 有场景信息就跳转对应页面 没有就登录场景
SCENE && SCENE.path != 'pages/accountItems/accountItems' ? this.sceneHandle() : this.getYqMerchantSceneConfig({ yqMerchantId, isSuper }) SCENE && SCENE.path != 'pages/accountItems/accountItems' ? this.sceneHandle() : this.getYqMerchantSceneConfig({ yqMerchantId, isSuper })
} else { } else {
......
...@@ -252,5 +252,6 @@ ...@@ -252,5 +252,6 @@
} }
] ]
} }
} },
"libVersion": "2.12.3"
} }
\ No newline at end of file \ No newline at end of file
...@@ -256,8 +256,8 @@ Page({ ...@@ -256,8 +256,8 @@ Page({
getWaitOrder() { getWaitOrder() {
let { isStaff } = this.data let { isStaff } = this.data
// 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
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!