修复:商品在移动端编辑后 丢失部分规格信息的问题

This commit is contained in:
wuhui_zzw 2024-04-22 08:55:48 +08:00
parent aac6de1849
commit 89abb85caa
2 changed files with 8 additions and 7 deletions

View File

@ -170,9 +170,7 @@ export default {
},
video_link: this.addGoodsSecoundData.video_link
};
postData.attrValue = attrValue.filter(item => item != '');
postData.attrValue = attrValue.filter(item => item != '');
if (getStorage('addGoodsFormData').spec_type == 0) {
// postData.attr = [getStorage('singleSpecification')];
}

View File

@ -3,7 +3,7 @@
<select-form :platformClassification="formList" :form="singleSpecification" @input="input"></select-form>
<view class="more_than" @click="selectMoreThan" v-if="moreThanFlag">
<view>更多</view>
</view>
</view>
<view class="handle">
<view class="button" @click="saveSingleSpecification">
保存
@ -33,7 +33,10 @@
volume: '', //
image: '',
extension_one: '',
extension_two: ''
extension_two: '',
svip_price: '',
copy_value_id: '',
copy_unique: '',
},
moreThanFlag: true,
formList: [
@ -103,7 +106,7 @@
model: 'extension_two'
}
],
}
},
watch: {
@ -164,7 +167,7 @@
color: #333333;
font-size: 30rpx;
}
.handle {
position: fixed;
left: 0;