fix(comment): valine comment spec error

This commit is contained in:
ppoffice 2018-11-02 19:18:27 -04:00
parent 78f0eb9305
commit 5c80316fa3
1 changed files with 3 additions and 3 deletions

View File

@ -71,13 +71,13 @@ const LiveReSpec = {
const ValineSpec = {
app_id: {
[type]: 'boolean',
[type]: 'string',
[doc]: 'LeanCloud APP ID',
[required]: true,
[requires]: comment => comment.type === 'valine'
},
app_key: {
[type]: 'boolean',
[type]: 'string',
[doc]: 'LeanCloud APP key',
[required]: true,
[requires]: comment => comment.type === 'valine'
@ -95,7 +95,7 @@ const ValineSpec = {
[requires]: comment => comment.type === 'valine'
},
placeholder: {
[type]: 'boolean',
[type]: 'string',
[doc]: 'Placeholder text in the comment box',
[defaultValue]: 'Say something...',
[requires]: comment => comment.type === 'valine'