|
@@ -189,7 +189,7 @@
|
|
<div>{{ text == 1 ? '文档知识' : '维基知识' }}</div>
|
|
<div>{{ text == 1 ? '文档知识' : '维基知识' }}</div>
|
|
</template>
|
|
</template>
|
|
<template slot="knowledgeCategoryAdminVo" slot-scope="{text}">
|
|
<template slot="knowledgeCategoryAdminVo" slot-scope="{text}">
|
|
- <div>{{ getCategory(text) }}</div>
|
|
|
|
|
|
+ <div style="white-space: pre-line">{{ getCategory(text) }}</div>
|
|
</template>
|
|
</template>
|
|
<template slot="approvalStatus" slot-scope="{text}">
|
|
<template slot="approvalStatus" slot-scope="{text}">
|
|
<div>{{ getApprovalStatus(text) }}</div>
|
|
<div>{{ getApprovalStatus(text) }}</div>
|
|
@@ -317,7 +317,7 @@ export default {
|
|
title: '所属分类',
|
|
title: '所属分类',
|
|
dataIndex: 'knowledgeCategoryAdminVo',
|
|
dataIndex: 'knowledgeCategoryAdminVo',
|
|
align: 'center',
|
|
align: 'center',
|
|
- width: 400,
|
|
|
|
|
|
+ width: 150,
|
|
scopedSlots: {customRender: 'knowledgeCategoryAdminVo'}
|
|
scopedSlots: {customRender: 'knowledgeCategoryAdminVo'}
|
|
},
|
|
},
|
|
{
|
|
{
|