修改测试问题
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<template>
|
||||
<Tree
|
||||
ref="treRef"
|
||||
|
||||
:width="width"
|
||||
:showPush="props.showPush"
|
||||
:expand-on-click-node="false"
|
||||
|
||||
@@ -79,7 +79,7 @@ async function selectInitialNode(type: string | undefined, leaves: LineTreeLeave
|
||||
}
|
||||
|
||||
const loadTree = (type?: string) => {
|
||||
console.log("🚀 ~ loadTree ~ type:", type)
|
||||
// console.log("🚀 ~ loadTree ~ type:", type)
|
||||
tree.value = []
|
||||
getLineTree({ type: type === '2' ? 'engineering' : '' }).then(res => {
|
||||
const leaves = decorateLineTree(res.data, type, decorators, { disableParents: false })
|
||||
|
||||
Reference in New Issue
Block a user