forked from mt-fe-group/mt-yd-ui
apply base-table
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
filter-placement="top"
|
||||
:align="head.align"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<template v-if="head.prop" slot-scope="scope">
|
||||
<component v-if="head.subcomponent" :is="head.subcomponent" :key="idx + 'sub'" :inject-data="{ ...scope.row, head }" @emitData="handleSubEmitData" />
|
||||
<span v-else>{{ scope.row[head.prop] | commonFilter(head.filter) }}</span>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user