refactor: add transition namespace (#5829)

This commit is contained in:
三咲智子 2022-02-08 09:09:54 +08:00 committed by GitHub
parent a84facfa4f
commit b63956c325
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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)]"

View File

@ -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="[