From e880a1605a5c8d9a446a2c5c952481abd80bd488 Mon Sep 17 00:00:00 2001 From: bobi Date: Fri, 21 Jun 2019 23:22:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/permission/tree.json | 37 +++++++++++++++++++++++-------------- pages/role/role-add.html | 1 - 2 files changed, 23 insertions(+), 15 deletions(-) diff --git a/data/permission/tree.json b/data/permission/tree.json index db4f9da..b167661 100644 --- a/data/permission/tree.json +++ b/data/permission/tree.json @@ -1,14 +1,23 @@ -[{ - "title": "江西" - ,"children": [{ - "title": "南昌" - ,"children": [{ - "title": "高新区" - }] - }] - },{ - "title": "陕西" - ,"children": [{ - "title": "西安" - }] - }] \ No newline at end of file +[ + { + "title": "江西", + "children": [ + { + "title": "南昌", + "children": [ + { + "title": "高新区" + } + ] + } + ] + }, + { + "title": "陕西", + "children": [ + { + "title": "西安" + } + ] + } +] diff --git a/pages/role/role-add.html b/pages/role/role-add.html index 870c14b..62d5b1a 100644 --- a/pages/role/role-add.html +++ b/pages/role/role-add.html @@ -5,7 +5,6 @@ 添加角色 -