fix(comment): valine comment spec error
This commit is contained in:
parent
78f0eb9305
commit
5c80316fa3
|
@ -71,13 +71,13 @@ const LiveReSpec = {
|
||||||
|
|
||||||
const ValineSpec = {
|
const ValineSpec = {
|
||||||
app_id: {
|
app_id: {
|
||||||
[type]: 'boolean',
|
[type]: 'string',
|
||||||
[doc]: 'LeanCloud APP ID',
|
[doc]: 'LeanCloud APP ID',
|
||||||
[required]: true,
|
[required]: true,
|
||||||
[requires]: comment => comment.type === 'valine'
|
[requires]: comment => comment.type === 'valine'
|
||||||
},
|
},
|
||||||
app_key: {
|
app_key: {
|
||||||
[type]: 'boolean',
|
[type]: 'string',
|
||||||
[doc]: 'LeanCloud APP key',
|
[doc]: 'LeanCloud APP key',
|
||||||
[required]: true,
|
[required]: true,
|
||||||
[requires]: comment => comment.type === 'valine'
|
[requires]: comment => comment.type === 'valine'
|
||||||
|
@ -95,7 +95,7 @@ const ValineSpec = {
|
||||||
[requires]: comment => comment.type === 'valine'
|
[requires]: comment => comment.type === 'valine'
|
||||||
},
|
},
|
||||||
placeholder: {
|
placeholder: {
|
||||||
[type]: 'boolean',
|
[type]: 'string',
|
||||||
[doc]: 'Placeholder text in the comment box',
|
[doc]: 'Placeholder text in the comment box',
|
||||||
[defaultValue]: 'Say something...',
|
[defaultValue]: 'Say something...',
|
||||||
[requires]: comment => comment.type === 'valine'
|
[requires]: comment => comment.type === 'valine'
|
||||||
|
|
Loading…
Reference in New Issue