格式化json

v1.0
bobi 2019-06-21 23:22:06 +08:00
parent 892154248a
commit e880a1605a
2 changed files with 23 additions and 15 deletions

View File

@ -1,14 +1,23 @@
[{ [
"title": "江西" {
,"children": [{ "title": "江西",
"title": "南昌" "children": [
,"children": [{ {
"title": "南昌",
"children": [
{
"title": "高新区" "title": "高新区"
}] }
}] ]
},{ }
"title": "陕西" ]
,"children": [{ },
{
"title": "陕西",
"children": [
{
"title": "西安" "title": "西安"
}] }
}] ]
}
]

View File

@ -5,7 +5,6 @@
<title>添加角色</title> <title>添加角色</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="../../css/okadmin.css"> <link rel="stylesheet" href="../../css/okadmin.css">
<link rel="stylesheet" href="../../lib/zTree_v3/css/zTreeStyle/zTreeStyle.css">
</head> </head>
<body> <body>
<div class="ok-body"> <div class="ok-body">