修改商品编辑保存字段skuSnap里的label换为name,修改商品名称长度为1-40
This commit is contained in:
@@ -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(',')
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user