|
@@ -32,7 +32,7 @@ export default {
|
|
return {
|
|
return {
|
|
columns: [
|
|
columns: [
|
|
{
|
|
{
|
|
- key: 'accountNickname',
|
|
|
|
|
|
+ key: 'nickname',
|
|
name: '用户名称',
|
|
name: '用户名称',
|
|
width: '160'
|
|
width: '160'
|
|
},
|
|
},
|
|
@@ -59,17 +59,22 @@ export default {
|
|
name: '反馈图片',
|
|
name: '反馈图片',
|
|
width: '100',
|
|
width: '100',
|
|
render: (h, { row }) => {
|
|
render: (h, { row }) => {
|
|
- const list = row.imgUrl.map(x => ({
|
|
|
|
- src: x
|
|
|
|
- }));
|
|
|
|
|
|
+ // const list = row.imgUrl.map(x => ({
|
|
|
|
+ // src: x
|
|
|
|
+ // }));
|
|
|
|
+ const list = [
|
|
|
|
+ {
|
|
|
|
+ src: row.imgUrl
|
|
|
|
+ }
|
|
|
|
+ ];
|
|
if (list.length > 0) {
|
|
if (list.length > 0) {
|
|
- return h('image', {
|
|
|
|
|
|
+ return h('img', {
|
|
style: {
|
|
style: {
|
|
width: '90px',
|
|
width: '90px',
|
|
height: '90px'
|
|
height: '90px'
|
|
},
|
|
},
|
|
attrs: {
|
|
attrs: {
|
|
- src: list[0].url
|
|
|
|
|
|
+ src: list[0].src
|
|
},
|
|
},
|
|
on: {
|
|
on: {
|
|
click: () =>
|
|
click: () =>
|
|
@@ -90,18 +95,6 @@ export default {
|
|
}
|
|
}
|
|
]
|
|
]
|
|
};
|
|
};
|
|
- },
|
|
|
|
-
|
|
|
|
- mounted() {
|
|
|
|
- setTimeout(() => {
|
|
|
|
- this.items = [
|
|
|
|
- {
|
|
|
|
- accountNickname: 'loic',
|
|
|
|
- phonenumber: '110',
|
|
|
|
- content: 'dadadabkwadl冬不拉我的本垒打我看了金额逻辑框架出来就安慰'
|
|
|
|
- }
|
|
|
|
- ];
|
|
|
|
- }, 1000);
|
|
|
|
}
|
|
}
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|