[new feature] Sku: support custom placeholder (#3864)

This commit is contained in:
neverland
2019-07-16 13:26:24 +08:00
committed by GitHub
parent 511087bc74
commit aba5f59fdd
5 changed files with 10 additions and 9 deletions
+3 -2
View File
@@ -221,7 +221,8 @@ sku: {
multiple: '0', // 留言类型为 text 时,是否多行文本。'1' 表示多行
name: '留言', // 留言名称
type: 'text', // 留言类型,可选: id_no(身份证), text, tel, date, time, email
required: '1' // 是否必填 '1' 表示必填
required: '1', // 是否必填 '1' 表示必填
placeholder: '' // 可选值,占位文本
}
],
hide_stock: false // 是否隐藏剩余库存
@@ -290,7 +291,7 @@ messageConfig: {
},
// 最大上传体积 (MB)
uploadMaxSize: 3,
// placehold配置
// placeholder 配置
placeholderMap: {
text: 'xxx',
tel: 'xxx',