fix animation and router type
This commit is contained in:
parent
0408b67d6d
commit
457b443404
@ -21,22 +21,22 @@ const animateList: string[] = [
|
|||||||
animatePrefix + 'animate__lightSpeedIn'
|
animatePrefix + 'animate__lightSpeedIn'
|
||||||
];
|
];
|
||||||
// 关闭随机动画后的默认效果
|
// 关闭随机动画后的默认效果
|
||||||
const defaultAnimate = animatePrefix + 'animate__bounceIn';
|
const defaultAnimate = animatePrefix + 'animate__fadeIn';
|
||||||
// 搜索隐藏显示动画
|
// 搜索隐藏显示动画
|
||||||
const searchAnimate = {
|
const searchAnimate = {
|
||||||
enter: animatePrefix + 'animate__flipInX',
|
enter: '',
|
||||||
leave: animatePrefix + 'animate__bounceOut'
|
leave: ''
|
||||||
};
|
};
|
||||||
|
|
||||||
// 菜单搜索动画
|
// 菜单搜索动画
|
||||||
const menuSearchAnimate = {
|
const menuSearchAnimate = {
|
||||||
enter: animatePrefix + 'animate__fadeInLeft',
|
enter: animatePrefix + 'animate__fadeIn',
|
||||||
leave: animatePrefix + 'animate__fadeOutLeft'
|
leave: animatePrefix + 'animate__fadeOut'
|
||||||
};
|
};
|
||||||
// logo动画
|
// logo动画
|
||||||
const logoAnimate = {
|
const logoAnimate = {
|
||||||
enter: animatePrefix + 'animate__bounceIn',
|
enter: animatePrefix + 'animate__fadeIn',
|
||||||
leave: animatePrefix + 'animate__bounceOut'
|
leave: animatePrefix + 'animate__fadeOut'
|
||||||
};
|
};
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
2
src/types/router.d.ts
vendored
2
src/types/router.d.ts
vendored
@ -11,7 +11,7 @@ declare module 'vue-router' {
|
|||||||
parentPath?: string;
|
parentPath?: string;
|
||||||
meta?: {
|
meta?: {
|
||||||
title: string;
|
title: string;
|
||||||
icon?: string;
|
icon: string;
|
||||||
};
|
};
|
||||||
} & RouteRecordRaw;
|
} & RouteRecordRaw;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user