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

1

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