|
|
@ -22,7 +22,7 @@ |
|
|
|
</el-descriptions-item> |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item> |
|
|
|
<el-descriptions-item> |
|
|
|
<template slot="label"><i class="el-icon-copy-document"></i>图片</template> |
|
|
|
<template slot="label"><i class="el-icon-copy-document"></i>图片</template> |
|
|
|
{{item.picture}} |
|
|
|
<img v-if="item.picture" :src="item.picture"><span v-if="!item.picture">暂无图片</span> |
|
|
|
</el-descriptions-item> |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item> |
|
|
|
<el-descriptions-item> |
|
|
|
<template slot="label"><i class="el-icon-price-tag"></i>材质</template> |
|
|
|
<template slot="label"><i class="el-icon-price-tag"></i>材质</template> |
|
|
@ -91,6 +91,8 @@ |
|
|
|
//正确给 cData 赋值的 方法 |
|
|
|
//正确给 cData 赋值的 方法 |
|
|
|
model: function(newVal,oldVal){ |
|
|
|
model: function(newVal,oldVal){ |
|
|
|
this.tableModel= newVal |
|
|
|
this.tableModel= newVal |
|
|
|
|
|
|
|
console.log('this.tableModel') |
|
|
|
|
|
|
|
console.log(this.tableModel) |
|
|
|
// 设置默认值 |
|
|
|
// 设置默认值 |
|
|
|
if(newVal == null){ |
|
|
|
if(newVal == null){ |
|
|
|
this.tableModel = [ |
|
|
|
this.tableModel = [ |
|
|
|