mirror of
https://gitee.com/gz-yami/mall4v.git
synced 2025-12-25 23:09:00 +08:00
列表展示内容为空时,显示’-‘
This commit is contained in:
parent
775be95f00
commit
6cf3a99953
@ -28,6 +28,7 @@ export const tableOption = {
|
||||
},
|
||||
{
|
||||
label: '回复时间',
|
||||
slot: true,
|
||||
prop: 'replyTime',
|
||||
width: '200',
|
||||
dicData: [
|
||||
|
||||
@ -14,7 +14,8 @@ export const tableOption = {
|
||||
{
|
||||
label: '标签名称',
|
||||
prop: 'title',
|
||||
search: true
|
||||
search: true,
|
||||
slot: true
|
||||
},
|
||||
{
|
||||
label: '状态',
|
||||
|
||||
@ -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">
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user