aboutsummaryrefslogtreecommitdiff
path: root/src/App.vue
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-03-04 01:34:30 +1100
committerTerry Truong <terry06890@gmail.com>2022-03-04 14:31:30 +1100
commit0442b3c5c861c2096fb3d7f74fb77073660651f1 (patch)
tree94deefee40426eac4eade6ddc134d117da26fee2 /src/App.vue
parent81c839fd077b978b74e4cab3710cb23874431355 (diff)
Improve sweep-to-side layout
Diffstat (limited to 'src/App.vue')
-rw-r--r--src/App.vue5
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,
}