forked from opentiny/tiny-vue
fix: fix the error caused by not setting defaultValue (#791)
This commit is contained in:
parent
6c746c96b7
commit
aa52d71032
|
@ -77,7 +77,7 @@
|
|||
<span v-else v-html="row.type"></span>
|
||||
</td>
|
||||
<td v-if="!key.includes('slots') && !key.includes('events')">
|
||||
<span v-html="typeof row.defaultValue === 'string' ? row.defaultValue : row.defaultValue[langKey] || '--'"></span>
|
||||
<span v-html="typeof row.defaultValue === 'string' ? row.defaultValue : row.defaultValue?.[langKey] || '--'"></span>
|
||||
</td>
|
||||
<td><span v-html="row.desc[langKey]"></span></td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue