mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +08:00
refactor: add transition namespace (#5829)
This commit is contained in:
parent
a84facfa4f
commit
b63956c325
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<transition name="el-alert-fade">
|
||||
<transition :name="ns.b('fade')">
|
||||
<div
|
||||
v-show="visible"
|
||||
:class="[ns.b(), ns.m(type), ns.is('center', center), ns.is(effect)]"
|
||||
|
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div :class="ns.b()">
|
||||
<slot></slot>
|
||||
<transition name="el-zoom-in-center">
|
||||
<transition :name="`${ns.namespace.value}-zoom-in-center`">
|
||||
<sup
|
||||
v-show="!hidden && (content || content === '0' || isDot)"
|
||||
:class="[
|
||||
|
Loading…
Reference in New Issue
Block a user