update src/components/table/index.vue.
Signed-off-by: lyt-Top <1105290566@qq.com>
This commit is contained in:
parent
ba80b9bc76
commit
852075ccfb
@ -21,7 +21,7 @@
|
|||||||
:label="item.title"
|
:label="item.title"
|
||||||
>
|
>
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
<template v-if="item.key === 'image'">
|
<template v-if="item.type === 'image'">
|
||||||
<img :src="scope.row[item.key]" :width="item.width" :height="item.height" />
|
<img :src="scope.row[item.key]" :width="item.width" :height="item.height" />
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
|
Loading…
Reference in New Issue
Block a user