diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-03-04 01:34:30 +1100 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-03-04 14:31:30 +1100 |
| commit | 0442b3c5c861c2096fb3d7f74fb77073660651f1 (patch) | |
| tree | 94deefee40426eac4eade6ddc134d117da26fee2 /src/App.vue | |
| parent | 81c839fd077b978b74e4cab3710cb23874431355 (diff) | |
Improve sweep-to-side layout
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, } |
