|
@@ -193,7 +193,6 @@ const treeNodeTap = ({ node, data, keys }) => {
|
|
//获取节点详情
|
|
//获取节点详情
|
|
const curTreeData = ref({})
|
|
const curTreeData = ref({})
|
|
const getTreeNodeDetail = async ({ id }) => {
|
|
const getTreeNodeDetail = async ({ id }) => {
|
|
- console.log('getTreeNodeDetail:', id)
|
|
|
|
const { error, code, data } = await unitApi.getNodeDetail({ id })
|
|
const { error, code, data } = await unitApi.getNodeDetail({ id })
|
|
if (!error && code === 200) {
|
|
if (!error && code === 200) {
|
|
curTreeData.value = getObjValue(data)
|
|
curTreeData.value = getObjValue(data)
|