Commit a0b2ed7a by 张立顺

首页订单补录修复

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