|
@@ -3187,9 +3187,10 @@ const hideTreeNode = async () => {
|
|
|
}
|
|
|
|
|
|
const loadMenu = ({ node, item, level }, resolve) => {
|
|
|
+ console.log(contractInfo.value?.contractType)
|
|
|
setElTreeMenu(contractInfo.value?.contractType)
|
|
|
let menusArr = ElTreeMenu.value
|
|
|
- const { isCustomChild, notExsitChild } = item //isCustomChild===1//代表子级是自定义节点
|
|
|
+ //const { isCustomChild, notExsitChild } = item //isCustomChild===1//代表子级是自定义节点
|
|
|
// const { isCustom } = item
|
|
|
// if (isCustom === 1 && isCustomChild === 0 && notExsitChild) {//无子级,显示两个按钮
|
|
|
// menusArr.unshift( { icon: 'add-circle', label: '新增自定义节点', key: 'add1' })
|