修改商品编辑保存字段skuSnap里的label换为name,修改商品名称长度为1-40

This commit is contained in:
YeMingfei666 2024-11-11 10:06:24 +08:00
parent 1f3a66906f
commit 6f9a35f4d7
1 changed files with 2 additions and 2 deletions

View File

@ -846,7 +846,7 @@
},
{
minLength: 1,
maxLength: 20,
maxLength: 40,
errorMessage: '商品名称长度在 {minLength} 到 {maxLength} 个字符',
}
]
@ -1375,7 +1375,7 @@
for (let i of FormData.specificationsGroup.selectSpec) {
if (i.selectSpecResult.length) {
skuSnap.push({
label: i.name,
name: i.name,
value: i.selectSpecResult.join(',')
})
}