diff --git a/src/App.vue b/src/App.vue index 2a4b08e..880aba3 100644 --- a/src/App.vue +++ b/src/App.vue @@ -24,4 +24,13 @@ nav a { nav a.router-link-exact-active { color: #42b983; } +*::-webkit-scrollbar { + display: none; +} +* { + scrollbar-width: none; +} +* { + -ms-overflow-style: none; +} diff --git a/src/components/JsonEditor.vue b/src/components/JsonEditor.vue index 3fc06eb..66b6ef2 100644 --- a/src/components/JsonEditor.vue +++ b/src/components/JsonEditor.vue @@ -13,24 +13,6 @@ export default { }, data(){ return{ - // 在data中添加测试数据 - resultInfo: { - "test1": "1234", - "test2": "5678", - "test3": { - "test3-1":3, - "test3-2": [ - { - "test3-2-1":"1233", - "test3-2-2":"1155" - }, - { - "test3-2-3":"1377", - "test3-2-4":"1499" - } - ] - } - }, } }, @@ -54,7 +36,10 @@ export default { height: calc(100vh - 130px); width: 100%; } -/deep/ .show[data-v-58159d48] { - display: none; +/*/deep/ .show[data-v-58159d48] {*/ +/* display: none;*/ +/*}*/ +/deep/ .jsoneditor-search { + position: relative; } \ No newline at end of file diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 62387a8..e60cf41 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -1,17 +1,21 @@ @@ -55,6 +62,7 @@ export default { }).then( (res)=> { that.jsonData=res; }).catch((error)=>{ + that.jsonData=error; ElNotification({ title: 'Error', message: error,