Commit 3c0d8e14 authored by 罗超's avatar 罗超

1

parent 2d59494b
......@@ -126,7 +126,8 @@ service.interceptors.response.use(
router.replace({
path: '/auth/login'
})
})
location.reload()
},1000)
}
}
} else {
......
......@@ -165,7 +165,6 @@ export default {
if (e.slice(0, 1) == 1) {
const node = tree.value.getNodeByKey(e)
if (node[props.childrenKey] && node[props.childrenKey].length > 0) {
ticketArr.value.splice(i, 1)
findChild(node[props.childrenKey])
} else {
ticketArr.value.push(node.DataType + '-' + node.DeptId)
......@@ -184,10 +183,14 @@ export default {
if (e[props.childrenKey] && e[props.childrenKey].length > 0) {
findChild(e[props.childrenKey])
} else {
console.log(182,e.DeptName,e.DataType + '-' + e.DeptId)
ticketArr.value.push(e.DataType + '-' + e.DeptId)
console.log(18,ticketArr.value)
}
})
}
// 有默认值----end--------
let showDialog = () => {
initDefault()
......
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