This commit is contained in:
syuilo 2018-07-06 12:31:57 +09:00
parent 029b92935c
commit cb0f95ee7d
3 changed files with 1 additions and 10 deletions

View file

@ -1092,7 +1092,4 @@ docs:
props: props:
name: "名前" name: "名前"
type: "型" type: "型"
optional: "オプション"
description: "説明" description: "説明"
yes: "はい"
no: "いいえ"

View file

@ -89,7 +89,7 @@
"autwh": "0.1.0", "autwh": "0.1.0",
"bcryptjs": "2.4.3", "bcryptjs": "2.4.3",
"bootstrap-vue": "2.0.0-rc.11", "bootstrap-vue": "2.0.0-rc.11",
"cafy": "11.1.0", "cafy": "11.2.0",
"chalk": "2.4.1", "chalk": "2.4.1",
"crc-32": "1.2.0", "crc-32": "1.2.0",
"css-loader": "0.28.11", "css-loader": "0.28.11",

View file

@ -3,7 +3,6 @@ mixin propTable(props)
thead: tr thead: tr
th= i18n('docs.api.props.name') th= i18n('docs.api.props.name')
th= i18n('docs.api.props.type') th= i18n('docs.api.props.type')
th= i18n('docs.api.props.optional')
th= i18n('docs.api.props.description') th= i18n('docs.api.props.description')
tbody tbody
each prop in props each prop in props
@ -29,9 +28,4 @@ mixin propTable(props)
| ) | )
else if prop.kind == 'date' else if prop.kind == 'date'
| (Date) | (Date)
td.optional
if prop.optional
= i18n('docs.api.props.yes')
else
= i18n('docs.api.props.no')
td.desc!= prop.desc ? prop.desc[lang] || prop.desc['ja'] : null td.desc!= prop.desc ? prop.desc[lang] || prop.desc['ja'] : null