diff options
Diffstat (limited to 'src/App.vue')
| -rw-r--r-- | src/App.vue | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/App.vue b/src/App.vue index b1efd4b..26ae610 100644 --- a/src/App.vue +++ b/src/App.vue @@ -14,8 +14,9 @@ import TileTree from "./components/TileTree.vue"; export default { data() { return { - //tree: tol.map(e => ({...e, children:[]})), - tree: tol, + //tree: {...tol, children:[]}, + tree: {...tol, children:tol.children.map(e => ({...e, children:[]}))}, + //tree: tol, width: document.documentElement.clientWidth, height: document.documentElement.clientHeight, } |
