mirror of
https://gitee.com/gz-yami/mall4v.git
synced 2025-12-26 07:16:27 +08:00
用户头像空占位
This commit is contained in:
parent
6cf3a99953
commit
527e08d7c0
@ -28,7 +28,8 @@ export const tableOption = {
|
||||
prop: 'pic',
|
||||
type: 'upload',
|
||||
imgWidth: 150,
|
||||
listType: 'picture-img'
|
||||
listType: 'picture-img',
|
||||
slot: true
|
||||
}, {
|
||||
label: '状态',
|
||||
prop: 'status',
|
||||
|
||||
@ -15,6 +15,14 @@
|
||||
<!-- :disabled="dataListSelections.length <= 0">批量删除</el-button>-->
|
||||
<!-- </template>-->
|
||||
|
||||
<template slot-scope="scope"
|
||||
slot="pic">
|
||||
<span class="avue-crud__img" v-if="scope.row.pic">
|
||||
<i :src="scope.row.pic" class="el-icon-document"></i>
|
||||
</span>
|
||||
<span v-else>-</span>
|
||||
</template>
|
||||
|
||||
<template slot-scope="scope"
|
||||
slot="status">
|
||||
<el-tag v-if="scope.row.status === 0"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user