Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

级联插件只支持三级么? #799

Open
landonzeng opened this issue Oct 20, 2020 · 0 comments
Open

级联插件只支持三级么? #799

landonzeng opened this issue Oct 20, 2020 · 0 comments

Comments

@landonzeng
Copy link

问题描述

在使用级联插件-cityselect时,值能展示深度在前3的数据,更深的无非展示,而且如果children的深度不一致的话还会报错
json如下

[
  {
    "v": "5efc872c-cfdf-afe4-0009-644a65755b37",
    "n": "中心",
    "c": [
      {
        "v": "8efc872c-cfdf-afe4-0009-644b68be3d90",
        "n": "1区",
        "c": [
          {
            "v": "3efc872c-cfdf-afe4-0009-645c5fba9935",
            "n": "1-1区",
            "c": [
              {
                "v": "2efc872f-cfdf-afe4-0009-7cfe2781afdc",
                "n": "1-1-1区"
              },
              {
                "v": "9efc872f-cfdf-afe4-0009-7cfe2781afdc",
                "n": "1-1-2区",
                "c": [
                  {
                    "v": "5f75a58a-4e88-a940-007c-60ff581b7164",
                    "n": "1-1-2-1组"
                  },
                  {
                    "v": "5f75a58a-4e88-a940-007c-61013f954245",
                    "n": "1-1-2-2组"
                  },
                  {
                    "v": "5f75a58a-4e88-a940-007c-610523c4f322",
                    "n": "1-1-2-3组"
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "v": "5efc8730-cfdf-afe4-0009-82d65b21386f",
        "n": "2区",
        "c": [
          {
            "v": "5efc8730-cfdf-afe4-0009-82df2e3a279c",
            "n": "2-1区"
          },
          {
            "v": "5efc8730-cfdf-afe4-0009-82df2e3a279c",
            "n": "2-2区"
          }
        ]
      },
      {
        "v": "5efc8730-cfdf-afe4-0009-82d815ec979d",
        "n": "3区"
      }
    ]
  }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant