fix: 处理动画引起的警报问题
This commit is contained in:
@@ -123,8 +123,8 @@ a {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
transition:
|
transition:
|
||||||
opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1),
|
opacity 0.24s cubic-bezier(0.4, 0, 0.2, 1),
|
||||||
transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
|
transform 0.24s cubic-bezier(0.4, 0, 0.2, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-fade-slide-enter-from {
|
.page-fade-slide-enter-from {
|
||||||
|
|||||||
@@ -249,7 +249,7 @@ export default defineComponent({
|
|||||||
v-slots={{
|
v-slots={{
|
||||||
default: ({ Component, route }: any) => (
|
default: ({ Component, route }: any) => (
|
||||||
<KeepAlive include={cachedViews.value}>
|
<KeepAlive include={cachedViews.value}>
|
||||||
<Transition name="page-fade-slide" mode="out-in">
|
<Transition name="page-fade-slide">
|
||||||
{Component ? h(Component, { key: route.path }) : null}
|
{Component ? h(Component, { key: route.path }) : null}
|
||||||
</Transition>
|
</Transition>
|
||||||
</KeepAlive>
|
</KeepAlive>
|
||||||
|
|||||||
Reference in New Issue
Block a user