Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

并不生效 #3

Open
wintsa123 opened this issue Jul 17, 2023 · 0 comments
Open

并不生效 #3

wintsa123 opened this issue Jul 17, 2023 · 0 comments

Comments

@wintsa123
Copy link

wintsa123 commented Jul 17, 2023

[
    {
        "bh": "1",
        "id": "1",
        "zx": 0,
        "dad": "",
        "bjmc": "第一部分 建筑安装工程费",
        "bhkey": "8-1",
        "dadkey": "",
        "jsjd": "控制性规划",
        "jsjdObj": {
            "value": "8",
            "showname": "控制性规划"
        },
        "key": "8-1"
    },
    {
        "bh": "1-2",
        "id": "10",
        "zx": 0,
        "dad": "1",
        "bjmc": "路基工程",
        "bhkey": "8-1-2",
        "dadkey": "8-1",
        "jsjd": "控制性规划",
        "jsjdObj": {
            "value": "8",
            "showname": "控制性规划"
        },
        "key": "8-1-2"
    }
]
const a= smartArrayToTree(temp1,{ id: 'bhkey', pid: 'dadkey', firstPid: null })

返回未定义,,,,

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant