From 639028f99f0dafc3b5638f754ec31f3b937b8c39 Mon Sep 17 00:00:00 2001
From: zyqwst <790321193@qq.com>
Date: Sat, 27 Jun 2020 16:27:26 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=95=B0=E7=BB=84=E6=8A=A5?=
=?UTF-8?q?=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
examples/App.vue | 63 +++++++++++++++++++++++-----
packages/json-schema-editor/main.vue | 29 ++++++-------
2 files changed, 67 insertions(+), 25 deletions(-)
diff --git a/examples/App.vue b/examples/App.vue
index db0269c..52d3025 100644
--- a/examples/App.vue
+++ b/examples/App.vue
@@ -1,6 +1,12 @@
@@ -9,20 +15,55 @@ export default {
name: 'App',
data() {
return {
- tree:{
+ tree:
+ {
root: {
- type: "object",
- title: "title",
- properties: {
- field_1: {
- type: "string"
- },
- },
- required: ["field_1"]
+ type: "object"
}
}
}
}
}
-
+
diff --git a/packages/json-schema-editor/main.vue b/packages/json-schema-editor/main.vue
index 6f86959..4e19420 100644
--- a/packages/json-schema-editor/main.vue
+++ b/packages/json-schema-editor/main.vue
@@ -1,5 +1,5 @@
-