2
0
mirror of https://github.com/tenrok/vue-json-viewer.git synced 2026-06-20 20:00:37 +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() { debResized() {
this.$nextTick(() => { this.$nextTick(() => {
if (!this.$refs.jsonBox) return;
if (this.$refs.jsonBox.$el.clientHeight >= 250) { if (this.$refs.jsonBox.$el.clientHeight >= 250) {
this.expandableCode = true this.expandableCode = true
} else { } else {