diff options
Diffstat (limited to 'src/layouts/tool.layout.vue')
-rw-r--r-- | src/layouts/tool.layout.vue | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/src/layouts/tool.layout.vue b/src/layouts/tool.layout.vue index 2705a50..edb95a1 100644 --- a/src/layouts/tool.layout.vue +++ b/src/layouts/tool.layout.vue @@ -24,17 +24,19 @@ useHead(head) </script> <template> - <base-layout> - <div class="tool-layout"> - <div class="tool-header"> - <n-h1>{{ route.meta.name }}</n-h1> - <div class="separator" /> - <div class="description">{{ route.meta.description }}</div> - </div> - - <slot /> + <base-layout> + <div class="tool-layout"> + <div class="tool-header"> + <n-h1>{{ route.meta.name }}</n-h1> + <div class="separator" /> + <div class="description"> + {{ route.meta.description }} </div> - </base-layout> + </div> + + <slot /> + </div> + </base-layout> </template> <style lang="less" scoped> |