|
|
@@ -27,7 +27,10 @@
|
|
|
<div class="form-item">
|
|
|
<label>主图尺寸:</label>
|
|
|
<div class="select-wrapper">
|
|
|
- <el-select multiple multiple-limit="3" v-model="formData.basic_configs.main_image_size" placeholder="请选择">
|
|
|
+ <el-select multiple
|
|
|
+ collapse-tags
|
|
|
+ multiple-limit="3"
|
|
|
+ v-model="formData.basic_configs.main_image_size" placeholder="请选择">
|
|
|
<el-option v-for="item in mainImageSizeList" :key="item.value" :label="item.label" :value="item.value"></el-option>
|
|
|
</el-select>
|
|
|
</div>
|
|
|
@@ -221,13 +224,13 @@ const formData = reactive({
|
|
|
|
|
|
// 配置选项列表
|
|
|
const mainImageSizeList = ref([
|
|
|
- { label: '320*320', value: '320' },
|
|
|
- { label: '512*512', value: '512' },
|
|
|
- { label: '768*768', value: '768' },
|
|
|
- { label: '800*800', value: '800' },
|
|
|
- { label: '1024*1024', value: '1024' },
|
|
|
- { label: '1400*1400', value: '1400' },
|
|
|
- { label: '1600*1600', value: '1600' },
|
|
|
+ { label: '320*320', value: 320 },
|
|
|
+ { label: '512*512', value: 512 },
|
|
|
+ { label: '768*768', value: 768 },
|
|
|
+ { label: '800*800', value: 800 },
|
|
|
+ { label: '1024*1024', value: 1024 },
|
|
|
+ { label: '1400*1400', value: 1400 },
|
|
|
+ { label: '1600*1600', value: 1600 },
|
|
|
]);
|
|
|
const imageFormatList = ref([
|
|
|
{ label: 'jpg', value: 'jpg' },
|