修改商品编辑保存字段skuSnap里的label换为name,修改商品名称长度为1-40
This commit is contained in:
parent
1f3a66906f
commit
6f9a35f4d7
|
|
@ -846,7 +846,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
minLength: 1,
|
minLength: 1,
|
||||||
maxLength: 20,
|
maxLength: 40,
|
||||||
errorMessage: '商品名称长度在 {minLength} 到 {maxLength} 个字符',
|
errorMessage: '商品名称长度在 {minLength} 到 {maxLength} 个字符',
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
@ -1375,7 +1375,7 @@
|
||||||
for (let i of FormData.specificationsGroup.selectSpec) {
|
for (let i of FormData.specificationsGroup.selectSpec) {
|
||||||
if (i.selectSpecResult.length) {
|
if (i.selectSpecResult.length) {
|
||||||
skuSnap.push({
|
skuSnap.push({
|
||||||
label: i.name,
|
name: i.name,
|
||||||
value: i.selectSpecResult.join(',')
|
value: i.selectSpecResult.join(',')
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue