From c8152b36d44eccfb2a795f7c7ac05780127031fa Mon Sep 17 00:00:00 2001 From: bobi Date: Fri, 21 Jun 2019 19:36:01 +0800 Subject: [PATCH] add tree --- data/permission/tree.json | 14 ++++++++++++++ pages/role/role-add.html | 29 ++++++++--------------------- 2 files changed, 22 insertions(+), 21 deletions(-) create mode 100644 data/permission/tree.json diff --git a/data/permission/tree.json b/data/permission/tree.json new file mode 100644 index 0000000..db4f9da --- /dev/null +++ b/data/permission/tree.json @@ -0,0 +1,14 @@ +[{ + "title": "江西" + ,"children": [{ + "title": "南昌" + ,"children": [{ + "title": "高新区" + }] + }] + },{ + "title": "陕西" + ,"children": [{ + "title": "西安" + }] + }] \ No newline at end of file diff --git a/pages/role/role-add.html b/pages/role/role-add.html index de6e52c..870c14b 100644 --- a/pages/role/role-add.html +++ b/pages/role/role-add.html @@ -38,8 +38,7 @@
- -
    +
    @@ -52,30 +51,18 @@
    - -