v3.8.0 禁用DictTag中el-tag渐变动画

This commit is contained in:
YunaiV 2022-02-17 11:41:04 +08:00
parent c0380aaf6a
commit 250c56f90c

View File

@ -5,7 +5,7 @@
<span v-if="dict.colorType === 'default' || dict.colorType === '' || dict.colorType === undefined" :key="dict.value" :index="index" <span v-if="dict.colorType === 'default' || dict.colorType === '' || dict.colorType === undefined" :key="dict.value" :index="index"
:class="dict.cssClass">{{ dict.label }}</span> :class="dict.cssClass">{{ dict.label }}</span>
<!-- Tag 样式 --> <!-- Tag 样式 -->
<el-tag v-else :key="dict.value" :index="index" :type="dict.colorType" :class="dict.cssClass"> <el-tag v-else :disable-transitions="true" :key="dict.value" :index="index" :type="dict.colorType" :class="dict.cssClass">
{{ dict.label }} {{ dict.label }}
</el-tag> </el-tag>
</template> </template>