- 在数据控制器中引入去重对象逻辑 - 根据去重对象配置决定是否执行去重操作 - 当去重对象为 false 时不进行去重直接写入数据库 - 在管理界面令牌管理页面添加不去重选项 - 表格中显示去重对象时将 false 显示为不去重中文描述
This commit is contained in:
@@ -43,6 +43,7 @@ const clear = () => {
|
||||
}
|
||||
|
||||
const options = [
|
||||
{value: 'false', label: '不用去重'},
|
||||
{value: 'uid', label: 'uid'},
|
||||
{value: 'secid', label: 'secid'},
|
||||
{value: 'pid', label: 'pid'},
|
||||
@@ -234,7 +235,9 @@ onMounted(() => {
|
||||
|
||||
<el-table-column prop="dedup_object" label="去重对象" width="200">
|
||||
<template #default="{ row }">
|
||||
<el-tag type="primary" effect="plain">{{ row.dedup_object }}</el-tag>
|
||||
<el-tag type="primary" effect="plain">
|
||||
{{ row.dedup_object == "false" ? "不去重" : row.dedup_object }}
|
||||
</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user