fix: 修复model列表页 type 数据为空时报错
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
{{scope.row.brand.name}}
|
||||
</template>
|
||||
<template v-else-if="item.prop === 'type'">
|
||||
{{scope.row.type.name}}
|
||||
{{scope.row.type ? scope.row.type.name : '-'}}
|
||||
</template>
|
||||
<span v-else-if="item.prop === 'createTime'">{{utcTimeToTimezoneStr(scope.row[item.prop])}}</span>
|
||||
<template v-else-if="item.prop === 'assetNum'">
|
||||
|
||||
Reference in New Issue
Block a user