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