From 5c80316fa309771a7880696cb650d0d20607a5b6 Mon Sep 17 00:00:00 2001 From: ppoffice Date: Fri, 2 Nov 2018 19:18:27 -0400 Subject: [PATCH] fix(comment): valine comment spec error --- includes/specs/comment.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/specs/comment.spec.js b/includes/specs/comment.spec.js index 76b732d..b3e11ce 100644 --- a/includes/specs/comment.spec.js +++ b/includes/specs/comment.spec.js @@ -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'