列表展示内容为空时,显示’-‘

This commit is contained in:
wyy 2023-06-05 09:53:12 +08:00
parent 775be95f00
commit 6cf3a99953
5 changed files with 13 additions and 2 deletions

View File

@ -28,6 +28,7 @@ export const tableOption = {
},
{
label: '回复时间',
slot: true,
prop: 'replyTime',
width: '200',
dicData: [

View File

@ -14,7 +14,8 @@ export const tableOption = {
{
label: '标签名称',
prop: 'title',
search: true
search: true,
slot: true
},
{
label: '状态',

View File

@ -14,6 +14,10 @@
slot="nickName">
{{scope.row.user.nickName}}
</template>
<template slot-scope="scope"
slot="replyTime">
{{scope.row.replyTime ? scope.row.replyTime : '-'}}
</template>
<template slot-scope="scope"
slot="menu">

View File

@ -15,7 +15,10 @@
icon="el-icon-plus"
@click="addOrUpdateHandle()">新增</el-button>
</template>
<template slot-scope="scope"
slot="title">
{{ scope.row.title || '-' }}
</template>
<template slot-scope="scope"
slot="status">
<el-tag v-if="scope.row.status === 0"

View File

@ -51,6 +51,7 @@
width="150"
:show-overflow-tooltip="true"
label="菜单URL">
<template slot-scope="scope">{{scope.row.url || '-'}}</template>
</el-table-column>
<el-table-column prop="perms"
header-align="center"
@ -58,6 +59,7 @@
width="150"
:show-overflow-tooltip="true"
label="授权标识">
<template slot-scope="scope">{{scope.row.perms || '-'}}</template>
</el-table-column>
<el-table-column fixed="right"
header-align="center"