CN-1663 fix: 1、用户--新建/编辑,添加密码强度提示;2、修复&符号在界面显示异常的问题。

This commit is contained in:
刘洪洪
2024-07-02 18:13:04 +08:00
parent a050cf6c7c
commit 6823b7e4d7
5 changed files with 95 additions and 8 deletions

View File

@@ -32,7 +32,8 @@
<div class="col-resize-area"></div>
</template>
<template #default="scope" :column="item">
<span>{{scope.row[item.prop] || '-'}}</span>
<span v-if="item.prop === 'value'">{{handleSpecialCode(scope.row[item.prop]) || '-'}}</span>
<span v-else>{{scope.row[item.prop] || '-'}}</span>
</template>
</el-table-column><template v-slot:empty >
<div class="table-no-data" v-if="isNoData">
@@ -45,6 +46,7 @@
<script>
import table from '@/mixins/table'
import { api } from '@/utils/api'
import { handleSpecialCode } from '@/utils/tools'
export default {
name: 'I18nTable',
@@ -91,6 +93,9 @@ export default {
}
]
}
},
methods: {
handleSpecialCode
}
}
</script>