Commit 250c56f90ca45fb09040af8f9a0ed13ad36fdf4c
1 parent
c0380aaf
v3.8.0 禁用DictTag中el-tag渐变动画
Showing
1 changed file
with
1 additions
and
1 deletions
yudao-ui-admin/src/components/DictTag/index.vue
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | <span v-if="dict.colorType === 'default' || dict.colorType === '' || dict.colorType === undefined" :key="dict.value" :index="index" |
| 6 | 6 | :class="dict.cssClass">{{ dict.label }}</span> |
| 7 | 7 | <!-- Tag 样式 --> |
| 8 | - <el-tag v-else :key="dict.value" :index="index" :type="dict.colorType" :class="dict.cssClass"> | |
| 8 | + <el-tag v-else :disable-transitions="true" :key="dict.value" :index="index" :type="dict.colorType" :class="dict.cssClass"> | |
| 9 | 9 | {{ dict.label }} |
| 10 | 10 | </el-tag> |
| 11 | 11 | </template> | ... | ... |