mirror of
https://github.com/chansee97/nova-admin.git
synced 2025-08-17 05:49:55 +08:00
fix: full-content padding error
This commit is contained in:
parent
2535252310
commit
a1085e1922
@ -6,11 +6,15 @@ const routeStore = useRouteStore()
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<n-el>
|
<n-el
|
||||||
|
class="h-full"
|
||||||
|
:class="[
|
||||||
|
appStore.layoutMode === 'full-content' ? 'p-0' : 'p-16px',
|
||||||
|
]"
|
||||||
|
style="background-color: var(--action-color);"
|
||||||
|
>
|
||||||
<router-view
|
<router-view
|
||||||
v-slot="{ Component, route }"
|
v-slot="{ Component, route }"
|
||||||
class="flex-1 p-16px"
|
|
||||||
style="background-color: var(--action-color);"
|
|
||||||
>
|
>
|
||||||
<transition :name="appStore.transitionAnimation" mode="out-in">
|
<transition :name="appStore.transitionAnimation" mode="out-in">
|
||||||
<keep-alive :include="routeStore.cacheRoutes">
|
<keep-alive :include="routeStore.cacheRoutes">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user