feat(ui): enforce shared page shell contract
This commit is contained in:
@@ -195,7 +195,9 @@
|
||||
<div class="content-wrapper">
|
||||
<router-view v-slot="{ Component }">
|
||||
<transition name="fade-transform" mode="out-in">
|
||||
<component :is="Component" />
|
||||
<div class="ctms-route-shell">
|
||||
<component :is="Component" />
|
||||
</div>
|
||||
</transition>
|
||||
</router-view>
|
||||
</div>
|
||||
@@ -704,6 +706,10 @@ const onCommand = (cmd: string) => {
|
||||
background: #f7f8fb;
|
||||
}
|
||||
|
||||
.ctms-route-shell {
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
/* 过渡动画 */
|
||||
.fade-transform-enter-active,
|
||||
.fade-transform-leave-active {
|
||||
|
||||
Reference in New Issue
Block a user