File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -511,8 +511,8 @@ export default {
511511
512512| Name | Description | Type | Default |
513513| ------- | --------------------------------------------------------------------------------------------- | ------------------ | -------- |
514- | v-model | binding value | ` any ` under ` tree ` mode, ` string ` under ` text ` mode | |
515- | mode | edit mode, use ` v-model:mode ` in Vue 3 or ` :mode.sync ` in Vue 2 | ` 'tree' ` , ` 'text' ` | ` 'tree' ` |
514+ | v-model | binding value | ` any ` under ` tree ` mode, < br > ` string ` under ` text ` mode | |
515+ | mode | edit mode, < br > use ` v-model:mode ` in Vue 3 < br > or ` :mode.sync ` in Vue 2 | ` 'tree' ` , ` 'text' ` | ` 'tree' ` |
516516| ... | properties of [ svelte-jsoneditor] ( https://github.com/josdejong/svelte-jsoneditor/#properties ) | | |
517517
518518Including the boolean properties of ` svelte-jsoneditor ` like ` readOnly ` with no value will imply ` true ` :
Original file line number Diff line number Diff line change @@ -509,8 +509,8 @@ export default {
509509
510510| 参数名 | 说明 | 类型 | 默认值 |
511511| ------- | -------------------------------------------------------------------------------------- | ------------------ | -------- |
512- | v-model | 绑定值 | ` tree ` 模式时 ` any ` ,` text ` 模式时 ` string ` | |
513- | mode | 编辑模式,在 Vue 3 中使用 ` v-model:mode ` ,在 Vue 2 中使用 ` :mode.sync ` | ` 'tree' ` , ` 'text' ` | ` 'tree' ` |
512+ | v-model | 绑定值 | ` tree ` 模式时 ` any ` ,< br > ` text ` 模式时 ` string ` | |
513+ | mode | 编辑模式,< br > 在 Vue 3 中使用 ` v-model:mode ` ,< br > 在 Vue 2 中使用 ` :mode.sync ` | ` 'tree' ` , ` 'text' ` | ` 'tree' ` |
514514| ... | [ svelte-jsoneditor] ( https://github.com/josdejong/svelte-jsoneditor/#properties ) 的参数(通过 attrs) | | |
515515
516516仅写上 ` svelte-jsoneditor ` 的布尔类型参数如 ` readOnly ` 但不传值,会隐式转换为 ` true ` :
You can’t perform that action at this time.
0 commit comments