♻️(document): 统一 component 与 layer 的 md 位置

This commit is contained in:
就眠儀式
2022-06-26 01:43:00 +08:00
parent 33ad94f2b7
commit 3fd35cf2ad
4 changed files with 10 additions and 10 deletions

View File

@@ -486,7 +486,7 @@ const enterActiveClass = computed(() => {
* @param isOutAnim 离场动画
*/
const leaveActiveClass = computed(() => {
if (props.type === "drawer") {
if (type === 4) {
return getDrawerAnimationClass(props.offset, true);
}
return props.isOutAnim ? `layer-anim-close` : "";