This commit is contained in:
熊成强 2020-11-18 17:27:53 +08:00
parent ded68eb370
commit e47568eae0
2 changed files with 2 additions and 3 deletions

View File

@ -38,8 +38,6 @@ function handleGetDingtalkCode () {
})
}
router.beforeEach(async (to, from, next) => {
console.log('store: ', store)
console.log('VueCookie: ', VueCookie)
if (!store.getters.userInfo.userNo && !dd.other) {
let res = await handleGetDingtalkCode()
console.log('res: ', res)

View File

@ -421,7 +421,8 @@ export default {
}))
if (res.code !== 200) return
this.titleList = res.data
if (String(this.$route.query.step)) {
console.log('String(this.$route.query.step): ', String(this.$route.query.step))
if (String(this.$route.query.step) && String(this.$route.query.step) !== 'undefined') {
this.titleList = this.titleList.map(i => {
if (String(i.flowProcess) === String(this.$route.query.step)) {
i.active = true