CN-1291 fix:修改管理里角色的名称,保存后列表页面名称未更新

This commit is contained in:
hyx
2023-09-19 15:46:36 +08:00
parent 75a425e6ac
commit 92f096260a

View File

@@ -37,11 +37,11 @@
</template>
<template #default="scope" :column="item">
<template v-if="item.prop === 'name'">
<template v-if="scope.row.i18n">
<span>{{$t(scope.row.i18n)}}</span>
<template v-if="scope.row.name">
<span>{{$t(scope.row.name)}}</span>
</template>
<template v-else-if="scope.row.name">
<span>{{scope.row.name}}</span>
<template v-else-if="scope.row.i18n">
<span>{{scope.row.i18n}}</span>
</template>
<template v-else>
<span>-</span>