Skip to content

Commit 0307f97

Browse files
committed
chore: code annotation
1 parent 69a6f8f commit 0307f97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ export default defineComponent({
9696
preventUpdate.value = false
9797
return
9898
}
99-
// undefined is not accepted by vanilla-jsoneditor
100-
// The default value is { text: '' }
99+
// `undefined` is not accepted by vanilla-jsoneditor
100+
// The default value is `{ text: '' }`
101101
// Only default value can clear the editor
102102
preventOnChange.value = true
103103
jsonEditor.value.update([undefined, ''].includes(n)

0 commit comments

Comments
 (0)