sku组件增加库存文案配置和自定义validator的配置 (#1732)
sku留言增加手机号类型的简单校验 customStepperConfig中新增stockFormatter参数来自定义剩余库存文案 新增customSkuValidator参数来做规格未选择完整时的自定义错误文案配置
This commit is contained in:
@@ -81,6 +81,7 @@ export default {
|
||||
fill: 'Please fill',
|
||||
upload: 'Please upload',
|
||||
number: 'Please fill in the correct number format message',
|
||||
mobile: 'The length of mobile number must be 6 to 12',
|
||||
email: 'Please fill in the correct email message',
|
||||
id_no: 'Please fill in the correct ID number message',
|
||||
onePic: 'only one picture',
|
||||
|
||||
@@ -81,6 +81,7 @@ export default {
|
||||
fill: '请填写',
|
||||
upload: '请上传',
|
||||
number: '请填写正确的数字格式留言',
|
||||
mobile: '手机号长度为6-20位数字',
|
||||
email: '请填写正确的邮箱',
|
||||
id_no: '请填写正确的身份证号码',
|
||||
onePic: '仅限一张',
|
||||
|
||||
@@ -81,6 +81,7 @@ export default {
|
||||
fill: '請填寫',
|
||||
upload: '請上傳',
|
||||
number: '請填寫正確的數字格式留言',
|
||||
mobile: '手機號長度為6-20位數字',
|
||||
email: '請填寫正確的郵箱',
|
||||
id_no: '請填寫正確的身份證號碼',
|
||||
onePic: '僅限一張',
|
||||
|
||||
Reference in New Issue
Block a user