Commit b32c944f authored by xiaoman's avatar xiaoman

Merge branch 'feature/develop_0713' of...

Merge branch 'feature/develop_0713' of http://gitlab.wanwudezhi.work/quanku/qk_admin into feature/develop_0713
parents 0b3fb843 9261dafc
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<el-table-column align="center" property="iconUrl" label="图片"> <el-table-column align="center" property="iconUrl" label="图片">
<template slot-scope="scope"> <template slot-scope="scope">
<img :src="scope.row.topImage" width="100%"> <img v-if="scope.row.topImage" :src="scope.row.topImage" width="100%">
</template> </template>
</el-table-column> </el-table-column>
...@@ -142,7 +142,7 @@ export default { ...@@ -142,7 +142,7 @@ export default {
this.list = (response.data.data.items || []).map((e, index) => { this.list = (response.data.data.items || []).map((e, index) => {
return { return {
...e, ...e,
imageList: e.topImage && e.images.indexOf(e.topImage) === -1 ? [e.topImage].concat(e.images) : e.images imageList: e.topImage && e.images.indexOf(e.topImage) === -1 ? [e.topImage].concat(e.images) : e.images || []
} }
}) })
this.total = response.data.data.total this.total = response.data.data.total
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment