CN-1291 fix:修改管理里角色的名称,保存后列表页面名称未更新
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user