Commit 84da4b86 by liang ce

测试

parent 845fafda
......@@ -13,8 +13,6 @@ const config = {
resolve(res.data.data)
})
}).then((res) => {
console.log(res)
console.log(location.href.replace(window.location.hash, ''))
let senddate = qs.stringify({
version: MINGPAY_CONSTANT.MINGPAY_CONSTANT_VERSION,
url: location.href.replace(window.location.hash, ''),
......@@ -38,6 +36,7 @@ const config = {
'biz.contact.complexPicker'
] // 必填,需要使用的jsapi列表,注意:不要带dd。
})
sessionStorage.setItem('isFirstAction', true)
dd.error(function (error) {
console.log('dd error: ' + JSON.stringify(error))
return 'no'
......
......@@ -39,7 +39,7 @@ router.beforeEach(function (to, from, next) {
if (to.name === 'noPermission' || to.name === 'configError') {
next()
} else {
if (localStorage.getItem('userId')) {
if (localStorage.getItem('isFirstAction')) {
next()
} else {
localStorage.setItem('orgId', to.redirectedFrom.substr(1))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment