2
0
mirror of https://github.com/tenrok/vue-json-viewer.git synced 2026-06-08 17:22:32 +03:00

Merge pull request #23 from schlunsen/master

Update json-viewer.vue
This commit is contained in:
陈峰
2019-10-21 09:23:47 +08:00
committed by GitHub
+1
View File
@@ -123,6 +123,7 @@ export default {
},
debResized() {
this.$nextTick(() => {
if (!this.$refs.jsonBox) return;
if (this.$refs.jsonBox.$el.clientHeight >= 250) {
this.expandableCode = true
} else {