|
|
@@ -55,7 +55,8 @@
|
|
|
<div class="add-image-modal-content">
|
|
|
<el-form :model="formData" :rules="rules" ref="formData" label-width="120px">
|
|
|
<el-form-item label="分类">
|
|
|
- <el-checkbox-group v-model="formData.categoryIdList" size="small">
|
|
|
+ <el-checkbox-group
|
|
|
+ v-model="formData.categoryIdList" size="small">
|
|
|
<el-checkbox
|
|
|
border
|
|
|
v-for="(item, index) in categoryData"
|
|
|
@@ -63,7 +64,8 @@
|
|
|
:key="index"
|
|
|
size="small"
|
|
|
@change="selChangeDialogFn($event, item)"
|
|
|
- >{{ item.categoryName }}</el-checkbox>
|
|
|
+ >{{ item.categoryName }}
|
|
|
+ </el-checkbox>
|
|
|
</el-checkbox-group>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="售价">
|
|
|
@@ -106,6 +108,7 @@ export default {
|
|
|
text: '编辑',
|
|
|
icon: 'iconbianji',
|
|
|
click: () => {
|
|
|
+ this.formData.categoryIdList = this.operateData.categoryIdList
|
|
|
this.formData.picIdList = this.operateData.id
|
|
|
this.addImageModal = true
|
|
|
}
|